Closed Bebotron closed 3 years ago
This can be done through the style
keyword of Axis
and using standard pgfplots settings:
Axis(Plots.Scatter(data[:,1], data[:,2]), style="yticklabel style={/pgf/number format/precision=3}")
As a future reference, there are a lot of customizable things you can do purely in pgfplots that may not have a direct keyword in PGFPlots.jl, and we use the style
option as a somewhat catch-all.
Here's more information about pgfplot precision: https://tex.stackexchange.com/questions/220969/pgfplots-significant-figures
I couldn't find this anywhere in the examples notebook. I'm trying to manipulate the number of significant figures on my axis ticks.
I have the following data
And I'm running
Plots.Scatter(data[:,1], data[:,2])
, this produces the following plotThis y-axis is completely pointless, and I can't find how to fix it (show 3 significant figures)