julia> using Plots; x= 1:0.1:10; Y= [ sin.(x), cos.(x) ];
julia> plot( x, Y, tickfontrotation=50 )
julia> savefig("tickfontrotation.png")
I am looking the output of the above, and commands like tickfontrotation or tickfonthalign seem to set the tickfontsize, rather than what I would have guessed they were supposed to do.
Where did you find the command tickfontrotation? I think you want xrotation. I agree that this behavior is a bug, but its not a command that one would try after looking at the documentation.
Additionally, I think there is confusion about what plotattr(:Axis) refers to. It refers to options defined within the xaxis and yaxis options. The following works:
hi genauguy—can I beg you to file the issue, please? I am just starting with playing around with Plots. A good part of what I might try to explain could be wrong.
for example, as you saw, I did not realize what plotattr is supposed to tell me. I am still confused.
julia> plotattr()
Specify an attribute type to get a list of supported attributes.
Options are Series, Subplot, Plot, Axis
If plot( x, Y, xaxis = (tickfontrotation = 60.0)), then how would I use, say, the dpi=72 (a :Plot option)? Logically, should it be plot( x, Y, Plot=(dpi=72) ). This does not work.
So how are all the plotattr() from Series, Subplot, Plot, Axis supposed to be used (if they are not just stuck into the plot itself), and where would I find documentation on this?
I know. my question was more conceptual, though. when is the attribute an argument to the overall plot, and when is it a tuple handed to a different argument (like xaxis)?