Menu

#1560 colorspec "palette cb <value>" gives wrong result in case of logscale colorbar

None
closed-fixed
nobody
None
2015-04-11
2015-02-11
Anonymous
No

minimal example (reproducible with version "gnuplot 4.6 patchlevel 0" on debian wheezy):


f(x)=x
set cbrange [1.0:1000.0]
set xrange [1.0:1000.0]
set log cb
set object 1 rect from graph 0.8,0.8 to graph 0.7,0.7 fs solid fc palette cb 1.0
plot '+' u 1:(f($1)):(f($1)) w l lc palette z


in case of the default palette, the rectangle should be filled with black color if the "palette cb <value>" colorspec would work as documented.
however, the rectangle is filled with violet, corresponding to cb value around 10.0

Discussion

  • eartoaster

    eartoaster - 2015-02-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,5 @@
     minimal example (reproducible with version "gnuplot 4.6 patchlevel 0" on debian wheezy):
    +
     -----------------------------------------------------------
     f(x)=x
     set cbrange [1.0:1000.0]
    
     
  • Ethan Merritt

    Ethan Merritt - 2015-02-13

    Fixed now.
    4.6
    5.0
    5.1

    thanks
    
     
  • Ethan Merritt

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

    Ethan Merritt - 2015-04-11
    • status: pending-fixed --> closed-fixed
    • Group: -->
    • Priority: 5 -->
     

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.