-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Add new keyword: colorbar? #135
Comments
If it is all controlled through However, the question is: which one is more intuitive? A |
Imho, legend + colorbar is clearer and more easy to remember. |
I would employ a similar strategy as elsewhere, so that all of these options are allowed. In fact, I could still have the |
I started messing around with this, and I think it's mostly working for Gadfly and PyPlot. Here's an example:
Right now I'm having trouble showing only the legend in Gadfly, and I'm not sure how to put them in different positions. In PyPlot I'm not sure how to change the position of the colorbar, and putting the legend outside of the plot is a royal PITA. |
The default value for |
I've always wondered why this is not top priority of all plot software programmers. Especially the "legend outside of the plot" seems to come as a surprise to many developers. |
@pkofod: I belong to the group of plot software programmers, and i can assure you: Priority is always display of plot and data. Labeling, legends, colorbars gives you almost infinite options to do it wrong. |
@lobingera Yes, why would you worry about labelling a plot that isn't correct? I get that. Still it seems like a quite obvious thing to include: options for re-arranging legends. It probably depends a lot on the reason why you are making a plot. If you are using it to explore data for example, I wouldn't care too much, but if it is for a publication and external communication it is actually quite important to me how the plot looks. However, I think we might be heading off towards the land of off-topic :) |
Fix JuliaPlots#134 : typo on df blocks
Related to #122, it should be possible to toggle the series legend separately from a colorbar. When implemented,
legend
will refer to the series legend, whilecolorbar
will refer to the colorbar.This means there's an extra step to turn both off... is this bad?
An alternative is to change the behavior of
legend
to accept symbols:legend = :series
orlegend = :colorbar
... thenlegend = false
could mean "turn both off",legend = true
could mean "turn both on", and the symbols imply we would only turn one or the other on. (Could also accept:none
,:both
,:all
, etc)The text was updated successfully, but these errors were encountered: