Skip to content

Commit 977a8e0

Browse files
committed
demo: update version references
1 parent 335207b commit 977a8e0

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

content/demo/5.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Description: A click-to-run application demonstrating ScottPlot's capabilities
44
date: 2024-06-11
55
---
66

7-
# ScottPlot 5.0 Demo
7+
# ScottPlot 5 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/) recipes and demonstrates advanced user control features which are useful in GUI environments.
9+
**The ScottPlot 5 Demo is a click-to-run application that demonstrates capabilities of ScottPlot.** The demo application displays all [ScottPlot 5 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

@@ -19,7 +19,7 @@ date: 2024-06-11
1919
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/>
2020
<path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708z"/>
2121
</svg>
22-
<div class='fs-4'>ScottPlot 5.0 Demo</div>
22+
<div class='fs-4'>ScottPlot 5 Demo</div>
2323
</div>
2424
</a>
2525
</div>
@@ -35,7 +35,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
3535
**The show value under mouse demo** uses the control's `MouseMove` event to determine the position of the cursor using `Plot.GetCoordinates()`, determines if a data point is beneath the cursor, and if so places a circular `Marker` around it. Although this demo showcases data from scatter plots, the concept can be applied to any plot type.
3636

3737
* Source code: [ShowValueOnHover.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/ShowValueOnHover.cs)
38-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
38+
* Download: <a href='#download'>ScottPlot 5 demo</a>
3939

4040
![](/images/demo/5/show-point.gif)
4141

@@ -45,7 +45,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
4545
**The draggable axis line demo** shows how to use the user control's `MouseDown`, `MouseUp`, and `MouseMove` events to check whether a plotted object is beneath the mouse, grab it when clicked, move it when dragged, and drop it. Although this demo only showcases dragging axis lines, this technique can be applied to add interactivity to any plot type.
4646

4747
* Source code: [DraggableAxisLines.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggableAxisLines.cs)
48-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
48+
* Download: <a href='#download'>ScottPlot 5 demo</a>
4949

5050
![](/images/demo/5/drag.gif)
5151

@@ -55,7 +55,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
5555
**The draggable axis span demo** shows how to use the user control's `MouseDown`, `MouseUp`, and `MouseMove` events to check whether a plotted object is beneath the mouse, grab it when clicked, and move or resize it when dragged. Although this demo only showcases dragging axis spans, this technique can be applied to add interactivity to any plot type.
5656

5757
* Source code: [DraggableAxisSpans.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggableAxisSpans.cs)
58-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
58+
* Download: <a href='#download'>ScottPlot 5 demo</a>
5959

6060
![](/images/demo/5/draggable-span.gif)
6161

@@ -65,15 +65,15 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
6565
**The draggable points demo** shows how to use the user control's `MouseDown`, `MouseUp`, and `MouseMove` events to check whether a plotted object is beneath the mouse, grab it when clicked, move it when dragged, and drop it.
6666

6767
* Source code: [DraggablePoints.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DraggablePoints.cs)
68-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
68+
* Download: <a href='#download'>ScottPlot 5 demo</a>
6969

7070
![](/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)
76-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
76+
* Download: <a href='#download'>ScottPlot 5 demo</a>
7777

7878
![](/images/demo/5/select-points.gif)
7979

@@ -82,7 +82,7 @@ These are some of the most useful demonstrations included in the [ScottPlot Demo
8282
The plot control's `Multiplot` system may be used to add subplots and configure their placement in the figure as described on the [Multiplot](/faq/shared-layout/) FAQ page and in this demo.
8383

8484
* Source code: [MultiplotAdvancedLayout.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotAdvancedLayout.cs)
85-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
85+
* Download: <a href='#download'>ScottPlot 5 demo</a>
8686

8787
![](/images/demo/5/multiplot-advanced.png)
8888

@@ -91,7 +91,7 @@ The plot control's `Multiplot` system may be used to add subplots and configure
9191
The plot control's `Multiplot` system may be used to add subplots and configure shared axis limits as described on the [Multiplot](/faq/multiplot/) and [Shared Axes](/faq/shared-axes/) FAQ pages and in this demo.
9292

9393
* Source code: [MultiplotSharedAxis.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotSharedAxis.cs)
94-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
94+
* Download: <a href='#download'>ScottPlot 5 demo</a>
9595

9696
![](/images/demo/5/multiplot-shared.gif)
9797

@@ -102,7 +102,7 @@ The shared axes demo uses `Plot.Axes.Link()` to link axis limits between **two s
102102
> 💡 Users may prefer the simplicity of the `Multiplot` system described above
103103
104104
* Source code: [SharedAxes.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/SharedAxes.cs)
105-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
105+
* Download: <a href='#download'>ScottPlot 5 demo</a>
106106

107107
![](/images/demo/5/linked-axes.gif)
108108

@@ -121,7 +121,7 @@ Axis limits may be shared across multiple plots using one of two strategies:
121121
This window demonstrates how subplots can be given zero padding to achieve a collapsed effect, and a custom layout can be created which contains logic for interactivity to allow resizing using the mouse.
122122

123123
* Source code: [MultiplotCollapsed.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotCollapsed.cs)
124-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
124+
* Download: <a href='#download'>ScottPlot 5 demo</a>
125125

126126
![](/images/demo/5/multiplot-resize.gif)
127127

@@ -130,7 +130,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
130130
**The axis rules demo** demonstrates how to add to the list of `Plot.Axes.Rules` which are applied before rendering each frame. This strategy can be used to set boundaries that limit how far the user can zoom in or out, lock the vertical or horizontal axis, or enforce equal axes scaling such that circles and squares cannot be stretched into rectangles and ellipses.
131131

132132
* Source code: [AxisRules.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/AxisRules.cs)
133-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
133+
* Download: <a href='#download'>ScottPlot 5 demo</a>
134134

135135
![](/images/demo/5/axis-rules.png)
136136

@@ -139,7 +139,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
139139
**Custom logic may be applied to refine axis limits at the start of each render.** A common use case, demonstrated here, is automatically scaling vertically to fit the range of data encompassed by the horizontal view. Implementation details may differ whether the data is displayed as a scatter plot, signal plot, or something else, but the underlying concept is the same.
140140

141141
* Source code: [ContinuouslyAutoscale.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/ContinuouslyAutoscale.cs)
142-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
142+
* Download: <a href='#download'>ScottPlot 5 demo</a>
143143

144144
![](/images/faq/continuously-autoscale/autoscale-vertically.gif)
145145

@@ -149,7 +149,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
149149
**The custom plot type** demo shows how to create a custom plot type that implements `IPlottable` to allow full customization over styling and behavior. Creating custom plot types is useful for experimenting with new types of plots and does not require editing ScottPlot's source code.
150150

151151
* Source code: [CustomPlotType.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/CustomPlotType.cs)
152-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
152+
* Download: <a href='#download'>ScottPlot 5 demo</a>
153153

154154

155155
![](/images/faq/custom-plot-type/rainbow.png)
@@ -159,7 +159,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
159159
**The custom right-click menu** shows how to customize the context menu that appears when users right-click the plot. Developers can call the control's `Menu.Clear()` method to remove default menu items then call the control's `Menu.Add()` method to add new items which call custom actions when clicked.
160160

161161
* Source code: [CustomMenu.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/CustomMenu.cs)
162-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
162+
* Download: <a href='#download'>ScottPlot 5 demo</a>
163163

164164
![](/images/demo/5/menu.png)
165165

@@ -169,7 +169,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
169169
**The custom mouse actions demo** shows how to customize which mouse actions perform various operations on the plot. This strategy can be used to enable alternative behaviors such as middle-click-drag panning, right-click autoscaling, and left-click launching a context menu.
170170

171171
* Source code: [CustomMouseActions.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/CustomMouseActions.cs)
172-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
172+
* Download: <a href='#download'>ScottPlot 5 demo</a>
173173

174174
![](/images/demo/5/custom-mouse.png)
175175

@@ -178,7 +178,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
178178
**The multi-axis demo** plots data with largely different dimensions on multiple axes with different scales, then demonstrates how to interact with the multi-axis plot.
179179

180180
* Source code: [MultiAxis.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiAxis.cs)
181-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
181+
* Download: <a href='#download'>ScottPlot 5 demo</a>
182182

183183
![](/images/demo/5/multi-axis.png)
184184

@@ -187,7 +187,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
187187
**The data streamer demo** displays live data using a fixed number of data points. The oldest data points are removed as new data points are shifted in. If the `ManageAxisLimits` property is enabled, the data streamer will automatically adjust the axis limits to keep the incoming data in view. The data streamer plot type has options for switching between a wipe view (like an ECG machine) and a scroll view (where the newest data is always on one side of the plot).
188188

189189
* Source code: [DataStreamer.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DataStreamer.cs)
190-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
190+
* Download: <a href='#download'>ScottPlot 5 demo</a>
191191

192192
![](/images/demo/5/data-streamer.gif)
193193

@@ -196,7 +196,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
196196
**The data logger demo** displays live data in a `List` that grows as new data is added. If the `ManageAxisLimits` property is enabled, the data logger will automatically adjust the axis limits to keep the incoming data in view. The data logger plot type has options for switching between a full signal view or views that focus on the latest portion of the incoming signal.
197197

198198
* Source code: [DataLogger.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/DataLogger.cs)
199-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
199+
* Download: <a href='#download'>ScottPlot 5 demo</a>
200200

201201
![](/images/demo/5/data-logger.gif)
202202

@@ -205,7 +205,7 @@ This window demonstrates how subplots can be given zero padding to achieve a col
205205
**The Live Finance** demo demonstrates how to display price OHLC data in real time, modifying the last bar for live updates and adding new bars as time progresses.
206206

207207
* Source code: [LiveFinance.cs](https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/LiveFinance.cs)
208-
* Download: <a href='#download'>ScottPlot 5.0 demo</a>
208+
* Download: <a href='#download'>ScottPlot 5 demo</a>
209209

210210
![](/images/demo/5/live-finance.gif)
211211

0 commit comments

Comments
 (0)