Skip to content

Commit 14ca3fa

Browse files
committed
content: 5.0 → 5
1 parent fa4b637 commit 14ca3fa

File tree

13 files changed

+40
-40
lines changed

13 files changed

+40
-40
lines changed

content/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ layout: single
1414

1515
**ScottPlot is a free and open-source plotting library for .NET** that makes it easy to interactively display large datasets. Line plots, bar charts, pie graphs, scatter plots, and more can be created with just a few lines of code.
1616

17-
<a href='cookbook/5.0/'>
17+
<a href='cookbook/5/'>
1818
<img src='/images/scottplot.gif' class="d-block mx-auto my-5" />
1919
</a>
2020

@@ -35,18 +35,18 @@ myPlot.SavePng("quickstart.png", 400, 300);
3535

3636
## Cookbook
3737

38-
The [**ScottPlot Cookbook**](cookbook/5.0/) demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.
38+
The [**ScottPlot Cookbook**](cookbook/5/) demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.
3939

40-
<a href='cookbook/5.0/'>
40+
<a href='cookbook/5/'>
4141
<img src='images/cookbook.jpg' class="d-block mx-auto my-5" />
4242
</a>
4343

4444
## Demo
4545

46-
The [**ScottPlot Demo**](demo/5.0/) is a click-to-run application that provides mouse-interactive versions of every cookbook recipe and demonstrates how to perform advanced interactive customizations.
46+
The [**ScottPlot Demo**](demo/5/) is a click-to-run application that provides mouse-interactive versions of every cookbook recipe and demonstrates how to perform advanced interactive customizations.
4747

48-
<a href='demo/5.0/'>
49-
<img src='/images/demo/5.0/demo.png' class="d-block mx-auto my-5" />
48+
<a href='demo/5/'>
49+
<img src='/images/demo/5/demo.png' class="d-block mx-auto my-5" />
5050
</a>
5151

5252
## Plot in the Cloud

content/cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2023-12-13
88

99
<div class='fs-5 mt-3'>
1010

11-
* [**ScottPlot 5.0 Cookbook**](/cookbook/5.0/)
11+
* [**ScottPlot 5.0 Cookbook**](/cookbook/5/)
1212

1313
* [**ScottPlot 4.1 Cookbook**](/cookbook/4.1/)
1414

content/demo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2023-12-13
88

99
<div class='fs-5 mt-3'>
1010

11-
* [**ScottPlot 5.0 Demo**](/demo/5.0/)
11+
* [**ScottPlot 5.0 Demo**](/demo/5/)
1212

1313
* [**ScottPlot 4.1 Demo**](/demo/4.1/)
1414

content/demo/4.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ date: 2024-06-11
1313
<hr/>
1414
<ul class="mb-0">
1515
<li>This demo below is specific to <strong>ScottPlot version 4.1</strong></li>
16-
<li>Review the <strong><a href='/demo/5.0/'>ScottPlot 5 Demo</a></strong> and <strong><a href='/cookbook/5.0/'>ScottPlot 5 Cookbook</a></strong> for modern examples.</li>
16+
<li>Review the <strong><a href='/demo/5/'>ScottPlot 5 Demo</a></strong> and <strong><a href='/cookbook/5/'>ScottPlot 5 Cookbook</a></strong> for modern examples.</li>
1717
<li>See <a href='/faq/version-5.0/'><strong>What's New in ScottPlot 5.0</strong></a> for more information and migration tips.</li>
1818
</ul>
1919
</div>

content/demo/5.0.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ date: 2024-06-11
66

77
# ScottPlot 5.0 Demo
88

9-
**The ScottPlot 5.0 Demo is a click-to-run application that demonstrates capabilities of ScottPlot.** The demo application displays all [ScottPlot 5.0 Cookbook](/cookbook/5.0/) recipes and demonstrates advanced user control features which are useful in GUI environments.
9+
**The ScottPlot 5.0 Demo is a click-to-run application that demonstrates capabilities of ScottPlot.** The demo application displays all [ScottPlot 5.0 Cookbook](/cookbook/5/) recipes and demonstrates advanced user control features which are useful in GUI environments.
1010

1111
* Each demo is provided with a [link to its source code](https://github.com/ScottPlot/ScottPlot/tree/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos)
1212

@@ -24,11 +24,11 @@ date: 2024-06-11
2424
</a>
2525
</div>
2626

27-
![](/images/demo/5.0/demo.png)
27+
![](/images/demo/5/demo.png)
2828

2929
## Notable Demos
3030

31-
These are some of the most useful demonstrations included in the [ScottPlot Demo application](/demo/5.0/):
31+
These are some of the most useful demonstrations included in the [ScottPlot Demo application](/demo/5/):
3232

3333
### Show Value Under Mouse
3434

@@ -37,7 +37,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
3737
* Source code: [ShowValueOnHover.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/ShowValueOnHover.cs)
3838
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
3939

40-
![](/images/demo/5.0/show-point.gif)
40+
![](/images/demo/5/show-point.gif)
4141

4242

4343
### Draggable Axis Lines
@@ -47,7 +47,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
4747
* Source code: [DraggableAxisLines.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggableAxisLines.cs)
4848
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
4949

50-
![](/images/demo/5.0/drag.gif)
50+
![](/images/demo/5/drag.gif)
5151

5252

5353
### Draggable Axis Spans
@@ -57,7 +57,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
5757
* Source code: [DraggableAxisSpans.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggableAxisSpans.cs)
5858
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
5959

60-
![](/images/demo/5.0/draggable-span.gif)
60+
![](/images/demo/5/draggable-span.gif)
6161

6262

6363
### Draggable Data Points
@@ -67,15 +67,15 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
6767
* Source code: [DraggablePoints.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggablePoints.cs)
6868
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
6969

70-
![](/images/demo/5.0/draggable-points.gif)
70+
![](/images/demo/5/draggable-points.gif)
7171

7272
### Selectable Data Points
7373
**The select points demo** shows how to use the control's `MouseDown`, `MouseUp`, and `MouseMove` events to track where the mouse was pressed, dragged, and released to determine which data points are within the mouse rectangle. It then places `Marker` objects over the selected data points. Notice that none of these plot types contain mouse-specific logic, but users can add their own without too much complexity.
7474

7575
* Source code: [SelectPoints.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/SelectPoints.cs)
7676
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
7777

78-
![](/images/demo/5.0/select-points.gif)
78+
![](/images/demo/5/select-points.gif)
7979

8080
### Multiplot Layouts
8181

@@ -84,7 +84,7 @@ The plot control's `Multiplot` system may be used to add subplots and configure
8484
* Source code: [MultiplotAdvancedLayout.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotAdvancedLayout.cs)
8585
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
8686

87-
![](/images/demo/5.0/multiplot-advanced.png)
87+
![](/images/demo/5/multiplot-advanced.png)
8888

8989
### Multiplot with Shared Axes
9090

@@ -93,7 +93,7 @@ The plot control's `Multiplot` system may be used to add subplots and configure
9393
* Source code: [MultiplotSharedAxis.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotSharedAxis.cs)
9494
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
9595

96-
![](/images/demo/5.0/multiplot-shared.gif)
96+
![](/images/demo/5/multiplot-shared.gif)
9797

9898
### Synchronizing Axes Across Multiple Plot Controls
9999

@@ -104,7 +104,7 @@ The shared axes demo uses `Plot.Axes.Link()` to link axis limits between **two s
104104
* Source code: [SharedAxes.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/SharedAxes.cs)
105105
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
106106

107-
![](/images/demo/5.0/linked-axes.gif)
107+
![](/images/demo/5/linked-axes.gif)
108108

109109
### Shared Axes
110110

@@ -123,7 +123,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
123123
* Source code: [MultiplotCollapsed.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotCollapsed.cs)
124124
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
125125

126-
![](/images/demo/5.0/multiplot-resize.gif)
126+
![](/images/demo/5/multiplot-resize.gif)
127127

128128
### Axis Rules
129129

@@ -132,7 +132,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
132132
* Source code: [AxisRules.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/AxisRules.cs)
133133
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
134134

135-
![](/images/demo/5.0/axis-rules.png)
135+
![](/images/demo/5/axis-rules.png)
136136

137137
### Continuously Autoscale
138138

@@ -161,7 +161,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
161161
* Source code: [CustomMenu.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/CustomMenu.cs)
162162
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
163163

164-
![](/images/demo/5.0/menu.png)
164+
![](/images/demo/5/menu.png)
165165

166166

167167
### Custom Mouse Actions
@@ -171,7 +171,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
171171
* Source code: [CustomMouseActions.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/CustomMouseActions.cs)
172172
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
173173

174-
![](/images/demo/5.0/custom-mouse.png)
174+
![](/images/demo/5/custom-mouse.png)
175175

176176
### Multi-Axis
177177

@@ -180,7 +180,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
180180
* Source code: [MultiAxis.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiAxis.cs)
181181
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
182182

183-
![](/images/demo/5.0/multi-axis.png)
183+
![](/images/demo/5/multi-axis.png)
184184

185185
### Plot Streaming Data
186186

@@ -189,7 +189,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
189189
* Source code: [DataStreamer.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DataStreamer.cs)
190190
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
191191

192-
![](/images/demo/5.0/data-streamer.gif)
192+
![](/images/demo/5/data-streamer.gif)
193193

194194
### Plot Growing Data
195195

@@ -198,7 +198,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
198198
* Source code: [DataLogger.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DataLogger.cs)
199199
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
200200

201-
![](/images/demo/5.0/data-logger.gif)
201+
![](/images/demo/5/data-logger.gif)
202202

203203
### Plot Live Financial Data
204204

@@ -207,7 +207,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
207207
* Source code: [LiveFinance.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/LiveFinance.cs)
208208
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
209209

210-
![](/images/demo/5.0/live-finance.gif)
210+
![](/images/demo/5/live-finance.gif)
211211

212212
## All WinForms Demo Windows
213213

content/faq/buttons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ date: 2023-12-13
66

77
# Mouse Button Behavior
88

9-
See the relevant demo and source code on the [ScottPlot Demo](/demo/5.0/#custom-mouse-actions) page.
9+
See the relevant demo and source code on the [ScottPlot Demo](/demo/5/#custom-mouse-actions) page.

content/faq/dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ apt-get install -y libfontconfig1
3131
apt-get install -y fontconfig
3232
```
3333
34-
If no characters render at all, it may be because the default font was incorrectly detected. Users may correct this issue by [specifying the name of an installed font](https://scottplot.net/cookbook/5.0/Styling/AxisCustom/) or by [using a font contained in a .ttf file](https://scottplot.net/cookbook/5.0/Miscellaneous/CustomFontFiles/), as demonstrated in the ScottPlot 5 Cookbook.
34+
If no characters render at all, it may be because the default font was incorrectly detected. Users may correct this issue by [specifying the name of an installed font](https://scottplot.net/cookbook/5/Styling/AxisCustom/) or by [using a font contained in a .ttf file](https://scottplot.net/cookbook/5/Miscellaneous/CustomFontFiles/), as demonstrated in the ScottPlot 5 Cookbook.
3535
3636
## Using ScottPlot in Docker
3737

content/faq/live-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ date: 2023-12-13
1010

1111
The DataLogger plot type is a like a scatter plot but it has features for recording and displaying growing datasets.
1212

13-
See the demo and source code on the [ScottPlot Demo](/demo/5.0/#plot-growing-data) page
13+
See the demo and source code on the [ScottPlot Demo](/demo/5/#plot-growing-data) page
1414

1515
<img src='/images/faq/live-data/datalogger.gif' class='d-block mx-auto border shadow my-5'>
1616

1717
## Use the `DataStreamer` to show the latest N values
1818

1919
The DataStreamer plot type is a like a signal plot but it has features for displaying the latest N values of a streaming dataset.
2020

21-
See the demo and source code on the [ScottPlot Demo](/demo/5.0/#plot-streaming-data) page
21+
See the demo and source code on the [ScottPlot Demo](/demo/5/#plot-streaming-data) page
2222

2323
<img src='/images/faq/live-data/datastreamer.gif' class='d-block mx-auto border shadow my-5'>
2424

content/faq/mouse-position.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ date: 2023-12-13
66

77
# Determining the Mouse Position
88

9-
See the various mouse tracking and other interactive examples on the [**ScottPlot Demo**](/demo/5.0/#custom-context-menu) page.
9+
See the various mouse tracking and other interactive examples on the [**ScottPlot Demo**](/demo/5/#custom-context-menu) page.
1010

1111
**WPF users** should note that mouse position must be multiplied by a scale factor if the system's DPI scaling is enabled. See the [DPI Scaling FAQ Page](/faq/dpi-scaling) for more information.

content/faq/multiplot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Multi-plot figures can be achieved one of two ways:
1010

1111
### Use the Multiplot System
1212

13-
* Place a single plot control and interact with its `Multiplot` property to add subplots and setup shared axes and layouts as documented in the [**ScottPlot Demo**](/demo/5.0/) and [**Shared Axes**](../shared-axes/) pages.
13+
* Place a single plot control and interact with its `Multiplot` property to add subplots and setup shared axes and layouts as documented in the [**ScottPlot Demo**](/demo/5/) and [**Shared Axes**](../shared-axes/) pages.
1414

1515
### Place Multiple Plot Controls
1616

17-
* Place multiple plot controls and interact the `Plot` property of each and use the `Layout` class to achieve shared axis limits as documented in the [**Shared Axis Demo**](/demo/5.0/#shared-axes) page.
17+
* Place multiple plot controls and interact the `Plot` property of each and use the `Layout` class to achieve shared axis limits as documented in the [**Shared Axis Demo**](/demo/5/#shared-axes) page.
1818

1919
## Shared Layout
2020

0 commit comments

Comments
 (0)