@@ -34,7 +34,7 @@ packageVersion('plotly')
34
34
```
35
35
36
36
```
37
- ## [1] '4.7.1 '
37
+ ## [1] '4.8.0 '
38
38
```
39
39
40
40
### Basic Contour
@@ -51,7 +51,7 @@ chart_link = api_create(p, filename="contour-basic")
51
51
chart_link
52
52
```
53
53
54
- <iframe src =" https://plot.ly/~RPlotBot/3115 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
54
+ <iframe src =" https://plot.ly/~RPlotBot/5511 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
55
55
56
56
### Set X and Y Coordinates
57
57
@@ -62,8 +62,8 @@ library(plotly)
62
62
p <- plot_ly(
63
63
x = c(- 9 , - 6 , - 5 , - 3 , - 1 ),
64
64
y = c(0 , 1 , 4 , 5 , 7 ),
65
- z = c(10 , 10.625 , 12.5 , 15.625 , 20 , 5.625 , 6.25 , 8.125 , 11.25 , 15.625 , 2.5 , 3.125 , 5 , 8.125 , 12.5 , 0.625 , 1.25 , 3.125 ,
66
- 6.25 , 10.625 , 0 , 0.625 , 2.5 , 5.625 , 10 ),
65
+ z = matrix ( c(10 , 10.625 , 12.5 , 15.625 , 20 , 5.625 , 6.25 , 8.125 , 11.25 , 15.625 , 2.5 , 3.125 , 5 , 8.125 , 12.5 , 0.625 , 1.25 , 3.125 ,
66
+ 6.25 , 10.625 , 0 , 0.625 , 2.5 , 5.625 , 10 ), nrow = 5 , ncol = 5 ),
67
67
type = " contour"
68
68
)
69
69
@@ -73,7 +73,7 @@ chart_link = api_create(p, filename="contour-coordinates")
73
73
chart_link
74
74
```
75
75
76
- <iframe src =" https://plot.ly/~RPlotBot/5139 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
76
+ <iframe src =" https://plot.ly/~RPlotBot/5515 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
77
77
78
78
### Set Size and Range of a Contours
79
79
@@ -102,7 +102,7 @@ chart_link = api_create(p, filename="contour-range-of-contours")
102
102
chart_link
103
103
```
104
104
105
- <iframe src =" https://plot.ly/~RPlotBot/5141 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
105
+ <iframe src =" https://plot.ly/~RPlotBot/5517 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
106
106
107
107
### Smoothing Contour Lines
108
108
@@ -150,7 +150,7 @@ chart_link = api_create(p, filename="contour-smoothing-lines")
150
150
chart_link
151
151
```
152
152
153
- <iframe src =" https://plot.ly/~RPlotBot/5143 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
153
+ <iframe src =" https://plot.ly/~RPlotBot/5519 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
154
154
155
155
### Smoothing Contour Coloring
156
156
@@ -175,7 +175,7 @@ chart_link = api_create(p, filename="contour-smoothing-coloring")
175
175
chart_link
176
176
```
177
177
178
- <iframe src =" https://plot.ly/~RPlotBot/5145 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
178
+ <iframe src =" https://plot.ly/~RPlotBot/5521 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
179
179
180
180
### Add Contour Labels
181
181
@@ -192,7 +192,7 @@ chart_link = api_create(p, filename="contour-labels")
192
192
chart_link
193
193
```
194
194
195
- <iframe src =" https://plot.ly/~RPlotBot/5135 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
195
+ <iframe src =" https://plot.ly/~RPlotBot/5523 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
196
196
197
197
### Create Matrix and Plot Contour
198
198
This example is based on (this)[ https://www.r-statistics.com/2016/07/using-2d-contour-plots-within-ggplot2-to-visualize-relationships-between-three-variables/ ] r-statistics post.
@@ -232,7 +232,7 @@ chart_link = api_create(p, filename="contour-advanced")
232
232
chart_link
233
233
```
234
234
235
- <iframe src =" https://plot.ly/~RPlotBot/3469 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
235
+ <iframe src =" https://plot.ly/~RPlotBot/5525 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
236
236
237
237
### 2D Density Contour Plot
238
238
@@ -256,7 +256,7 @@ chart_link = api_create(p, filename="contour-joint")
256
256
chart_link
257
257
```
258
258
259
- <iframe src =" https://plot.ly/~RPlotBot/3117 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
259
+ <iframe src =" https://plot.ly/~RPlotBot/5527 .embed " width =" 800 " height =" 600 " id =" igraph " scrolling =" no " seamless =" seamless " frameBorder =" 0 " > </iframe >
260
260
261
261
### Contour Colorscales
262
262
0 commit comments