Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d56e6a

Browse files
committed
Merge branch 'source-design-merge' of https://github.com/plotly/documentation into source-design-merge
2 parents 14bec2d + 8f7a0ab commit 7d56e6a

26 files changed

+55
-50
lines changed

_posts/matlab/line_and_scatter/2016-03-02-matlab-line-and-scatter_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12+
order: 3
1213
---
1314
{% assign examples = site.posts | where:"language","matlab" | where:"suite","line-and-scatter" | sort: "order" %}
1415
{% include auto_examples.html examples=examples %}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: MATLAB Line Charts | Examples | Plotly
3-
name: plot | Line Charts
3+
name: Line Charts
44
permalink: matlab/plot/
55
description: How to make a plot in MATLAB. Examples of the plot function, line and marker types, custom colors, and log and semi-log axes.
66
layout: base
@@ -9,7 +9,7 @@
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: chart_type
12-
order: 0
12+
order: 1
1313
---
1414
{% assign examples = site.posts | where:"language","matlab" | where:"suite","line_exclusive" | sort: "order" %}
1515
{% include auto_examples.html examples=examples %}

_posts/matlab/scatter_exclusive/2015-04-09-scatter_exclusive_matlab_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: chart_type
12-
order: 1
12+
order: 2
1313
---
1414
{% assign examples = site.posts | where:"language","matlab" | where:"suite","scatter_exclusive" | sort: "order" %}
1515
{% include auto_examples.html examples=examples %}

_posts/python/map-subplots/2015-07-05-map-subplots.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: maps
12-
order: 0
12+
order: 5
1313
---
1414
{% assign examples = site.posts | where:"language","python" | where:"suite","map-subplots" | sort: "order" %}
1515
{% include auto_examples.html examples=examples %}

_posts/python/map-subplots/2015-07-05-small-multiple-us-maps.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
height: 900
66
arrangement: horizontal
77
suite: map-subplots
8-
order: 5
8+
order: 0
99
sitemap: false
1010
---
1111

_posts/r/2015-07-30-2D-Histogram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ page_type: example_index
1010
has_thumbnail: true
1111
display_as: statistical
1212
plottype: histogram
13-
order: 5
13+
order: 4
1414
---
1515

1616

_posts/r/2015-07-30-bar-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 2
12+
order: 4
1313
---
1414

1515

_posts/r/2015-07-30-box-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: statistical
12-
order: 4
12+
order: 2
1313
---
1414

1515

_posts/r/2015-07-30-bubble-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 8
12+
order: 3
1313
---
1414

1515

_posts/r/2015-07-30-choropleth.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: maps
12+
order: 1
1213
---
1314

1415

_posts/r/2015-07-30-contour-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: scientific
12-
order: 6
12+
order: 1
1313
---
1414

1515

_posts/r/2015-07-30-dumbbell-plots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: chart_type
12-
order: 7
12+
order: 8
1313
---
1414

1515
# Dumbbell plots in R
@@ -22,7 +22,7 @@ s <- s[order(s$Men), ]
2222
gather(s, Sex, value, Women, Men) %>%
2323
plot_ly(x = value, y = School, mode = "markers",
2424
color = Sex, colors = c("pink", "blue")) %>%
25-
add_trace(x = value, y = School, mode = "lines",
25+
add_trace(x = value, y = School, mode = "lines",
2626
group = School, showlegend = F, line = list(color = "gray")) %>%
2727
layout(
2828
title = "Gender earnings disparity",

_posts/r/2015-07-30-filled-area-plots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 4
12+
order: 5
1313
---
1414

1515

_posts/r/2015-07-30-graphing-multiple-chart-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 9
12+
order: 10
1313
---
1414

1515

_posts/r/2015-07-30-heatmaps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: scientific
12-
order: 7
12+
order: 2
1313
---
1414

1515

_posts/r/2015-07-30-histograms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: statistical
12-
order: 4
12+
order: 3
1313
---
1414

1515

_posts/r/2015-07-30-line-and-scatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 1
12+
order: 4
1313
---
1414

1515

_posts/r/2015-07-30-map-subplots-and-small-multiples.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: maps
12+
order: 5
1213
---
1314

1415

_posts/r/2015-07-30-polar-chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: scientific
12-
order: 12
12+
order: 3
1313
---
1414

1515

_posts/r/2015-07-30-scatter-plot-maps.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: maps
12+
order: 2
1213
---
1314

1415

_posts/r/2015-11-19-pie-charts.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: chart_type
12-
order: 13
12+
order: 6
1313
---
1414
# Basic Pie Chart
1515

@@ -19,7 +19,7 @@ library(plotly)
1919
ds <- data.frame(labels = c("A", "B", "C"),
2020
values = c(10, 40, 60))
2121

22-
plot_ly(ds, labels = labels, values = values, type = "pie") %>%
22+
plot_ly(ds, labels = labels, values = values, type = "pie") %>%
2323
layout(title = "Basic Pie Chart using Plotly")
2424
```
2525
<iframe src="https://plot.ly/~RPlotBot/2887" width="800" height="600" id="igraph" scrolling="no" seamless="seamless" frameBorder="0"> </iframe>
@@ -30,24 +30,24 @@ plot_ly(ds, labels = labels, values = values, type = "pie") %>%
3030
library(plotly)
3131
library(dplyr)
3232

33-
cut <- diamonds %>%
34-
group_by(cut) %>%
33+
cut <- diamonds %>%
34+
group_by(cut) %>%
3535
summarize(count = n())
3636

37-
color <- diamonds %>%
38-
group_by(color) %>%
37+
color <- diamonds %>%
38+
group_by(color) %>%
3939
summarize(count = n())
4040

41-
clarity <- diamonds %>%
42-
group_by(clarity) %>%
41+
clarity <- diamonds %>%
42+
group_by(clarity) %>%
4343
summarize(count = n())
4444

45-
plot_ly(cut, labels = cut, values = count, type = "pie", domain = list(x = c(0, 0.4), y = c(0.4, 1)),
46-
name = "Cut", showlegend = F) %>%
45+
plot_ly(cut, labels = cut, values = count, type = "pie", domain = list(x = c(0, 0.4), y = c(0.4, 1)),
46+
name = "Cut", showlegend = F) %>%
4747
add_trace(data = color, labels = color, values = count, type = "pie", domain = list(x = c(0.6, 1), y = c(0.4, 1)),
48-
name = "Color", showlegend = F) %>%
48+
name = "Color", showlegend = F) %>%
4949
add_trace(data = clarity, labels = clarity, values = count, type = "pie", domain = list(x = c(0.25, 0.75), y = c(0, 0.6)),
50-
name = "Clarity", showlegend = F) %>%
50+
name = "Clarity", showlegend = F) %>%
5151
layout(title = "Pie Charts with Subplots")
5252
```
5353

@@ -63,10 +63,10 @@ df <- mtcars
6363
df$manuf <- sapply(rownames(mtcars), function(x) strsplit(x, split = " ")[[1]][1])
6464

6565
plot.df <- df %>%
66-
group_by(manuf) %>%
66+
group_by(manuf) %>%
6767
summarize(count = n())
6868

69-
plot_ly(plot.df, labels = manuf, values = count, type = "pie", hole = 0.6, showlegend = F) %>%
69+
plot_ly(plot.df, labels = manuf, values = count, type = "pie", hole = 0.6, showlegend = F) %>%
7070
layout(title = "Donut charts using Plotly")
7171
```
7272

_posts/r/2015-11-19-shapes.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: basic
12-
order: 9
12+
order: 11
1313
---
1414

1515

@@ -24,16 +24,16 @@ library(plotly)
2424
p <- plot_ly(economics, x = date, y = uempmed, name = "unemployment")
2525

2626
# add shapes to the layout
27-
p <- layout(p, title = 'Highlighting with Rectangles',
27+
p <- layout(p, title = 'Highlighting with Rectangles',
2828
shapes = list(
29-
list(type = "rect",
30-
fillcolor = "blue", line = list(color = "blue"), opacity = 0.3,
31-
x0 = "1980-01-01", x1 = "1985-01-01", xref = "x",
32-
y0 = 4, y1 = 12.5, yref = "y"),
3329
list(type = "rect",
34-
fillcolor = "blue", line = list(color = "blue"), opacity = 0.2,
35-
x0 = "2000-01-01", x1 = "2005-01-01", xref = "x",
36-
y0 = 4, y1 = 12.5, yref = "y")))
30+
fillcolor = "blue", line = list(color = "blue"), opacity = 0.3,
31+
x0 = "1980-01-01", x1 = "1985-01-01", xref = "x",
32+
y0 = 4, y1 = 12.5, yref = "y"),
33+
list(type = "rect",
34+
fillcolor = "blue", line = list(color = "blue"), opacity = 0.2,
35+
x0 = "2000-01-01", x1 = "2005-01-01", xref = "x",
36+
y0 = 4, y1 = 12.5, yref = "y")))
3737
p
3838
```
3939
<iframe height="600" id="igraph" scrolling="no" seamless="seamless" src="https://plot.ly/~RPlotBot/2766.embed" width="800" frameBorder="0"></iframe>
@@ -45,7 +45,7 @@ library(plotly)
4545
d <- diamonds[sample(nrow(diamonds), 1000), ]
4646
d <- plot_ly(d, x = carat, y = price, text = paste("Clarity: ", clarity),
4747
mode = "markers", color = carat, size = carat, opacity = carat)
48-
d <- layout(d, title = 'Highlighting Regions with Circles',
48+
d <- layout(d, title = 'Highlighting Regions with Circles',
4949
shapes = list(
5050
list(type = 'circle',
5151
xref = 'x', x0 = .2, x1 = .7,

_posts/r/2015-12-31-network-graph.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: scientific
12-
order: 1
12+
order: 4
1313
---
1414

1515

@@ -63,7 +63,7 @@ edge_shapes <- list()
6363
for(i in 1:Ne) {
6464
v0 <- es[i,]$V1
6565
v1 <- es[i,]$V2
66-
66+
6767
edge_shape = list(
6868
type = "line",
6969
line = list(color = "#030303", width = 0.3),
@@ -72,7 +72,7 @@ for(i in 1:Ne) {
7272
x1 = Xn[v1],
7373
y1 = Yn[v1]
7474
)
75-
75+
7676
edge_shapes[[i]] <- edge_shape
7777
}
7878
```

_posts/r/2015-12-31-semicircle-gauge-chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: r
99
page_type: example_index
1010
has_thumbnail: true
1111
display_as: chart_type
12-
order: 10
12+
order: 9
1313
---
1414

1515
# Gauge Meter Chart in R

_posts/r/2016-02-22-error-bars.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ thumbnail: thumbnail/error-bar.jpg
88
language: r
99
page_type: example_index
1010
has_thumbnail: true
11-
display_as: chart_type
12-
order: 11
11+
display_as: statistical
12+
order: 1
1313
---
1414

1515

_posts/r/scattergl/2016-02-25-scattergl-compare.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ permalink: r/compare-webgl-svg/
55
description: Compare WebGL and SVG in R
66
layout: user-guide
77
language: r
8+
order: 1
89
page_type: example_index
910
---
1011
# Compare WebGL and SVG in R
@@ -26,7 +27,7 @@ p
2627

2728
<iframe src="https://plot.ly/~RPlotBot/2869"width="950" height="600px" scrolling="no" seamless="seamless"></iframe>
2829

29-
### SVG
30+
### SVG
3031
> The draw time for this plot will be slow for all clients.
3132
3233

@@ -46,5 +47,5 @@ p
4647
# References
4748
See below for more information:
4849

49-
- [scattergl](https://plot.ly/r/reference/#scattergl)
50+
- [scattergl](https://plot.ly/r/reference/#scattergl)
5051
- [scatter](https://plot.ly/r/reference/#scatter)

0 commit comments

Comments
 (0)