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

labeling shade keys inconsistent for vertical and horizontal keys #1070

Closed
karlmsmith opened this issue Nov 23, 2017 · 2 comments
Closed

labeling shade keys inconsistent for vertical and horizontal keys #1070

karlmsmith opened this issue Nov 23, 2017 · 2 comments

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 23, 2017

Reported by @AnsleyManke on 9 Feb 2011 18:04 UTC
Reported on the User List
http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2010/msg00877.html

When creating a vertical key with infinity at the ends and displaying
every n-th level-label (klab_Inc=n) the first level labeled is the smallest non-infinity number (see attached: key_vertical.gif). Changing to horizontal key starts labelling at the (n-1)-th non-infinity number. Is there a way to tell ferret to do it in the same way for both, vertical and horizontal keys?

The labels for the vertical key start with -2; the labels for the horizontal key start with 0.

use coads_climatology
set win/siz=0.6/asp=2

! Vertical color key
set view upper
shade/lev=(-inf)(-2,32,2)(inf) sst[l=1]
ppl shakey 1,1,,2
ppl shade

! Horizontal color key
set view lower
shade/nolab/lev=(-inf)(-2,32,2)(inf) sst[l=1]
ppl shakey 1,0,,2
ppl shade

frame/file=shadekeybug.gif

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1798

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @AnsleyManke on 10 Feb 2011 00:44 UTC
The start of the loops was inconsistent for labeling the horizontal and vertical color keys. Fixed in ppl/tmapadds/key.F

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 29, 2017

Attachment from @AnsleyManke on 9 Feb 2011 18:05 UTC

ticket1798

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

No branches or pull requests

1 participant