-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.qmd
34 lines (27 loc) · 690 Bytes
/
404.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
title: Page Not Found
---
The page you requested cannot be found (perhaps it was moved or renamed). Please enjoy this volcano created with base R graphics:
```{r}
# Load the volcano dataset
data(volcano)
# Set the plot background color
par(bg = "#231409")
# Create a custom color palette for the plot
fg_color <- "#7B8DD6"
bg_color <- "#1B1B1B"
terrain_colors <- terrain.colors(100, alpha = 0.8)
custom_colors <- c(bg_color, fg_color, rev(terrain_colors))
# Create a 3D plot with a dark theme and custom colors
persp(
volcano,
theta = 30,
phi = 30,
col = custom_colors,
xlab = "X", ylab = "Y",
zlab = "Height",
box = FALSE,
axes = FALSE
)
```
Sorry about that!