Skip to content
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

label sizes on colorbars and labels running off the page #1904

Closed
AnsleyManke opened this issue Nov 28, 2018 · 2 comments
Closed

label sizes on colorbars and labels running off the page #1904

AnsleyManke opened this issue Nov 28, 2018 · 2 comments

Comments

@AnsleyManke
Copy link
Contributor

  1. This has been an issue going back to older versions of Ferret and Pyferret. When there's limited space at the plot edge for a vertical colorbar the labels may run off the page despite code that tries to adjust the label sizes. If the levels are all non-negative they're ok.
yes? use etopo60
yes? set view ur; shade rose
!  If the levels are all non-negative they're ok.
yes? set view lr; shade  if rose gt 0 then rose

Another issue, in PyFerret only, if the default Hershey font is used, the labels on horizontal colorbar are invisibly tiny.

> pyferret

yes? use etopo60; shade/key=horiz rose

! Use any system font, then they're ok
yes? set text/font=sans_serif 
yes? use etopo60; shade/key=horiz rose
@AnsleyManke
Copy link
Contributor Author

This is fixed. Also, for vertical colorbars that are short, e.g. because they're in a viewport, automatically adjust the label interval so they aren't so crowded. This was already done for horizontal colorbars.

I will merge this over to the pyFerret branch, I want to test things more there.

@AnsleyManke
Copy link
Contributor Author

This is checked in and merged to the PyFerret branch where the horizontal colorbar issue is also fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant