Skip to content

Commit 5f58a0c

Browse files
committed
shortcode: delete accidental cookbook copy
1 parent aadcc04 commit 5f58a0c

784 files changed

Lines changed: 1 addition & 49502 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/cookbook/5.0/Annotation.AnnotationCustomize.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,4 @@ SearchUrl: "/cookbook/5.0/search/"
1111
ShowEditLink: false
1212
---
1313

14-
15-
<div class='d-flex align-items-center mt-5'>
16-
<h1 class='me-2 text-dark my-0 border-0'>Annotation Customization</h1>
17-
</div>
18-
19-
Annotations can be extensively customized.
20-
21-
[![](/cookbook/5.0/images/AnnotationCustomize.png?250126165944)](/cookbook/5.0/images/AnnotationCustomize.png?250126165944)
22-
23-
{{< recipe-sp5 sourceUrl="https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Cookbook/Recipes/PlotTypes/Annotation.cs" imageUrl="/cookbook/5.0/images/AnnotationCustomize.png?250126165944" >}}ScottPlot.Plot myPlot = new();
24-
25-
myPlot.Add.Signal(Generate.Sin());
26-
myPlot.Add.Signal(Generate.Cos());
27-
28-
var anno = myPlot.Add.Annotation("Customized\nAnnotation");
29-
anno.LabelFontSize = 32;
30-
anno.LabelFontName = Fonts.Serif;
31-
anno.LabelBackgroundColor = Colors.RebeccaPurple.WithAlpha(.3);
32-
anno.LabelFontColor = Colors.RebeccaPurple;
33-
anno.LabelBorderColor = Colors.Green;
34-
anno.LabelBorderWidth = 3;
35-
anno.LabelShadowColor = Colors.Transparent;
36-
anno.OffsetY = 40;
37-
anno.OffsetX = 20;
38-
39-
myPlot.SavePng("demo.png", 400, 300);
40-
{{< /recipe-sp5 >}}
41-
42-
<div class='my-5 text-center'>This recipe is one of many in the <a href='/cookbook/5.0/Annotation'>Annotation</a> category</div>
43-
44-
14+
{{< recipe-sp5 sourceUrl="url" imageUrl="img" >}}uhhhh{{< /recipe-sp5 >}}

layouts/shortcodes/content/cookbook/5.0/.test.html

Lines changed: 0 additions & 1515 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/API.md

Lines changed: 0 additions & 9676 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/Annotation.AnnotationCustomize.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/Annotation.AnnotationPositions.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/Annotation.AnnotationQuickstart.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/Annotation.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/ArrowCoordinated.ArrowQuickstart.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

layouts/shortcodes/content/cookbook/5.0/ArrowCoordinated.md

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)