horizontal multiplier gets cut-off when horizontal axis label is not shown
See original GitHub issueI just tried this library and I’m a bit confused about the automated X axis label generation in this very simple example here:
var testData = new SortedDictionary<double, double>();
testData.Add(0, 1);
testData.Add(6000, 5);
testData.Add(11000, 1);
var plot = new ScottPlot.Plot(600, 400);
plot.PlotScatter(testData.Keys.ToArray(), testData.Values.ToArray());
plot.AxisAuto(0 , 0);
plot.SaveFig("test.png");
The result looks like this
What’s the reason that the X axis labels got divided by 1000 (although there would be enough space) and what’s this interesting cropped number in the bottom right? 😃
Thanks in advance Andreas
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Cut off x-axis label problem in multiple plot in python
I am working on making multiple distribution plots using matplotlib and seaborn ... The thing is x-axis label look cut off like as...
Read more >Excel Online X-Axis Label (and border) getting cut off
For some charts displayed in Excel Online, the X-Axis/Horizontal Axis is not showing the entire label and additionally the border is getting ......
Read more >horizontal axis labeling problems
I have tried resizing the graph, but still the horizontal labels will not all appear. I have double-checked and can find nothing different ......
Read more >Solved: How to prevent scatter plot axis labels from being cut off
Solved: Hi for the attached graph, my axis labels are cut off for the middle and third rows. how do I prevent this?...
Read more >subplot axes label cut off (activepositionproperty problem?) ...
Hi! I want to make a subplot such that two plots are side by side. The resulting figure needs to be small enough...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cookbook example: https://github.com/swharden/ScottPlot/tree/master/cookbook#multiplier-notation-disabled
There’s a chance those advanced features aren’t in the NuGet package yet, but I’ll release the latest build on NuGet shortly.
Hope this helps! Glad you enjoy ScottPlot =]
Just published it on NuGet - it should be processed and ready to update within a half hour.
https://www.nuget.org/packages/ScottPlot
Best, Scott