in reply to Re: How to plot a graph setting a y axis with labels not linearly scaling
in thread How to plot a graph setting a y axis with labels not linearly scaling

My problem is: how can I compute a new set of Y values mapping the current values to the scale I'm using on mylabels? My dataset is right for xmgrace. Obviously I need to arrange it for Perl.
  • Comment on Re^2: How to plot a graph setting a y axis with labels not linearly scaling

Replies are listed 'Best First'.
Re^3: How to plot a graph setting a y axis with labels not linearly scaling
by Nellina (Initiate) on Jan 31, 2011 at 12:17 UTC
    I have estimated my normal probability distribution, but I have some problems with the graph because I cannot reproduce the usual probability y-scale. I know the math rule for y-axis, but I cannot put the labels (0.001, 0.01,....,99, 99.9) right by the data values using GD::Graph module or perlchartdir package.
      Try Gnuplot for advanced graphing. See Gnuplot Samples There is a Perl module for it, gnuplot, and it can also be easily run thru IPC.

      The GD::Graph module is not as extensive a toolkit as Gnuplot, but there probably are ways possible to do what you need with a bit of trickery, like use GD to make an reusable axis template graphic, then do an overlay of your statistical data onto it.

      You could also, make your own custom graph using the canvas or drawing widget of the various toolkits, for example, Tk Realtime data aquisition


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh