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

 
 

bug #51855: suggestion for colorbar labeling

Submitter:  Ansley Manke <ansleymanke>
Submitted:  Sat 26 Aug 2017 12:06:04 AM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Works For Me Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-29 hulten StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code