Test

Author

Kai-Christian Bruhn

Published

September 12, 2024

R Integration

R als Text-Generator

cat("I'm raw **Markdown** content.\n")

I’m raw Markdown content.


Figure 1 further explores the impact of temperature on ozone level.

library(ggplot2)

ggplot(airquality, aes(Temp, Ozone)) + 
  geom_point() + 
  geom_smooth(method = "loess")
Figure 1: Temperature and ozone level.

Python Integration

For a demonstration of a line plot on a polar axis, see Figure 2.

import numpy as np
import matplotlib.pyplot as plt

r = np.arange(0, 2, 0.01)
theta = 2 * np.pi * r
fig, ax = plt.subplots(
  subplot_kw = {'projection': 'polar'} 
)
ax.plot(theta, r)
ax.set_rticks([0.5, 1, 1.5, 2])
ax.grid(True)
plt.show()
Figure 2: A line plot on a polar axis

Reuse

CC0