bugComparison Plotter to visually evaluate ocean model simulations - Bugs: bug #51855, suggestion for colorbar labeling

 
 

bug #51855: suggestion for colorbar labeling

Submitted by:  Ansley Manke <ansleymanke>
Submitted on:  Sat 26 Aug 2017 12:06:04 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: Works For MePrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Aug 2017 07:54:48 PM UTC, comment #3:

I put a -2 in the fifth argument, so that the second plot in the demo looks fine.

Marco van Hulten <hulten>
Project Administrator
Tue 29 Aug 2017 05:12:24 PM UTC, comment #2:

That sounds fine; I think you could close this ticket. Ferret definitely has issues with the colorbar positioning and labeling, and this is more a Ferret problem than a scripting problem.

Ansley Manke <ansleymanke>
Tue 29 Aug 2017 01:41:51 PM UTC, comment #1:

Thanks for your suggestion.

I am also using 0.1.1 (r150), with Ferret 7.1 classic on Ubuntu.

For me the numbers (at the key) do not fall of the window. I will leave it as it is for now. I intend to test this on different versions/flavours of Ferret on different machines.

Ideally the sizes of all elements should be tracked and should be consistent with margins. I tried to do this but so far the code is not rigorous in this (and I'm not certain if that is possible at all). A couple of margin symbols help, but it is for instance not possible (as far as I know) to use all the PPLUS symbols or modify them.

Concerning the lining up of the labels (colons), I needed to set the fifth SHAKEY argument to at least 7 in render_layer.jnl. In render_transect.jnl I cannot get the numbers aligned at all. Possibly this is the same issue as the recent post on the Ferret list: https://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2017/msg00617.html

Marco van Hulten <hulten>
Project Administrator
Sat 26 Aug 2017 12:06:04 AM UTC, original submission:

complot-0.1.1.tar.gz, which I downloaded on 8/25/2017 from
http://download.savannah.nongnu.org/releases/complot/

The colorbars are drawn with arguments that start with (for instance in render_transect.jnl),

ppl shakey 1, , 0.22, 2, , , ...

I would suggest a smaller size for the numbers, so that they do not extend past the edge of the page, perhaps 0.16 instead of 0.22.

Also perhaps use a consistent number of digits after the decimal place, so that the labels line up:

ppl shakey 1, , 0.16, 2, 3, , ...

of course, it may not be appropriate to set the number of digits in such a fixed way, as with different data the values along the colorbar may have a different range. Ferret should line up the decimal points on these labels itself, but currently does not.

Ansley Manke <ansleymanke>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hulten (Posted a comment)
  • -unavailable- added by ansleymanke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 29 Aug 2017 07:54:48 PM UTChultenStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1