Menu

#1628 iec80k prefixes for ticslabels

None
closed-fixed
tics (4)
2015-06-19
2015-06-19
Anonymous
No

The ticslabel generation with format "%B"

set format x "%.b %BByte"
set logsc x
plot [1:1e5] x

breaks for values between 1 and 2^10, because the code after util.c:878 has no provision for "power" = 0.

Attached patch add a test for that and just puts nothing in the output string.

1 Attachments

Discussion

  • Karl Ratzsch

    Karl Ratzsch - 2015-06-19

    That was me, and I forgot to give diff -u again, sorry.

     
  • Hans-Bernhard Broeker

    • status: open --> closed-fixed
    • assigned_to: Hans-Bernhard Broeker
    • Group: -->
    • Priority: -->
     
  • Hans-Bernhard Broeker

    A similar change is in CVS now. Thanks for spotting this.

     

Log in to post a comment.