Menu

#1569 wrong cbtics in polar plot when changing rrange

closed-fixed
nobody
None
5
2015-03-23
2015-02-23
No

Hi,

when I set rrange in a polar plot and then plot with colors, the cbtics seem wrong to me.

Maybe I am misinterpreting the functionality, but I'd expect the cbtics to match the range of the colors actually used in the plot itself.

Setting cbrange manually to follow the rrange definition does not seem to help.

I am attaching a test script, I get the same behavior with either 4.6 or 5.1 from CVS (23 Feb 2015).

In my example I am setting rrange to [0.5:1] and using values in this range in the plot data, the colors used in the plot seem correct but I get cbtics from 1 to 1.5 instead than from 0.5 to 1.

Am I missing anything?

Thanks,
Antonio

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2015-02-23
    • status: open --> pending-fixed
     
  • Ethan Merritt

    Ethan Merritt - 2015-02-23

    Indeed a bug.
    Somehow no one has noticed or reported this error even though it has been present since at least version 4.4 (2010).

    Fixed now in cvs for 5.1, 5.0, and (in case anyone cares) 4.6

     
  • Antonio Ospite

    Antonio Ospite - 2015-02-24

    I tested the fix and it works as intended.

    Thanks a lot Ethan.

     
  • Ethan Merritt

    Ethan Merritt - 2015-02-25
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.