Menu

Trouble with 'set format'

Help
2002-04-23
2002-04-24
  • Christopher Weth

    Hi,

    I'd like change the y axis format like this (for enhanced ps):

    set format y "%2.0t{/Symbol \327}10^{%L}"

    Works almost fine, only that the width of the tics is computed wrong, probably because the {/Symbol ... } - statement is not parsed, but taken as a string, so I get a large emphy space between the y axis label and the actual plot.

    Is there a way to work around this ?

    Best Regards,

       Chriss

     
    • Hans-Bernhard Broeker

      gnuplot indeed doesn't know how to parse PostScript enhanced formatting syntax to find out the actual width of the string --- but that's not as big a deal as it may seem, as it doesn't know the true width of any (possibly proportional-font) PS output in the first place.

      The canonical workaround is to override that part that comes out wrong because of this, i.e. the width of the margin to the left of the plot.  That's what the command

          set lmargin

      is for.  Look it up in the help for yourself, please.

       

Log in to post a comment.