|
From: Ethan M. <eam...@gm...> - 2016-07-11 23:39:08
|
linked axes are not compatible with log scale On Mon, Jul 11, 2016 at 12:56 PM, theozh <th...@gm...> wrote: > Hello, > > while trying to link logarithmic axes, I get unexpected results. > The y and y2 axis should be e.g. just shifted by two orders of magnitude. > > So, I thought that the following command would do it. > > set link y2 via y*0.01 inverse y*100 > > However, that's not what I get. See copy&paste example below. > Although, it seems to work on linear scale. > > How can I do it with logarithmic axes properly? > I am missing anything? > Thanks for any hints. > > > # link logarithmic axes > reset > set multiplot layout 2,1 > set xrange [-12:2] > > set logscale y > set ytics format "%g" nomirror > set grid ytics > set yrange [1e-12:0.01] > > set logscale y2 > set y2tics format "%g" nomirror > > set link y2 via y*0.01 inverse y*100 > > plot 10**x axis x1y1, 10**x axis x1y2 > unset logscale y > unset logscale y2 > replot > unset multiplot > > > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |