PM2011

Results 21 comments of PM2011

Do you mean adding a border to the `Plot`? Like this👇 ![Image](https://github.com/user-attachments/assets/cf3f4779-a427-45ea-9604-e6bb860efa18) --- Setting the properties of the control itself can have a similar effect, but the line width is...

> There is a Plot.FigureBackground object. Maybe it should have a border property? That seems reasonable. The actual rendering should be done by `BackgroundStyle.Render()`. https://github.com/ScottPlot/ScottPlot/blob/461efbdb139fb7c7d7a4bae185cde26e885b74bd/src/ScottPlot5/ScottPlot5/Primitives/BackgroundStyle.cs#L38-L48 ### First try I attached...

### Plot.Render When modifying code directly in `Plot.Render(SKCanvas canvas, PixelRect rect)`, if you use the `rect` parameter as-is to draw a rectangle, the right and bottom edges of the rectangle...

This is an example I wrote based on Cookbook. https://scottplot.net/cookbook/5.0/Regression/ ### sample image ![demo](https://github.com/user-attachments/assets/d2ed2258-3dd8-4506-b176-5e4f1466ba59) ### sample code ``` cs ScottPlot.Plot myPlot = new(); double[] xs = new double[] { 1,...

and an example of a four-order polynomial. ### sample image ![demo](https://github.com/user-attachments/assets/0c421239-6a96-47f9-893f-27a40d88802d) ### sample code ``` cs ScottPlot.Plot myPlot = new(); double[] xs = new double[] { 1, 2, 3, 4,...

In `MaximumBoundary.cs`, when the axes are inverted, the condition seems to be invalid. ![image](https://github.com/ScottPlot/ScottPlot/assets/7456441/fcdb4ec4-7706-4933-8cbe-1107c7dce27f) After further investigation, in `FractionalAutoScaler.cs`, when the axes are inverted, the maximum and minimum values are...

> I wish there were a good YouTube video "how to create a pull request with GitHub" that I could add to the top of the contributing page. @aniketkumar7 if...

I tried to write this in ScottPlot 5.0.36. I modified `Render()` in `GridStyle.cs`. I added `RenderGridBackground(rp, xTicksMajor, axis.Edge);` before `RenderGridLines(rp, xTicksMajor, axis.Edge, MajorLineStyle);` ```csharp private static void RenderGridBackground( RenderPack rp,...

Because your markers have a different Y axis than the scatter plot. You need to add the following code to the marker: ``` cs lastPointMarker.Axes.YAxis = plt.Axes.Right; ````