|
From: Thomas S. <t.s...@fz...> - 2010-09-15 07:34:50
|
you plot the function against degree celsius. and you add a second axis with degree fahrenheit. for this purpose it is necessary to set the range for the first axis and then set the according range for the second axis. c2f(x)=x*9./5.+32. set xrange [0:100] set x2range [c2f(0):c2f(100)] set xtics out nomirror set format x "\n%g" set x2tics axis plot x lynx.abraxas wrote: > > Hello! > > > Is it possible with gnuplot to have two different xranges on for the same > plot? > Eg. a function depending on a temperature and I want to have it > plotted > against degrees celcius but also degrees farenheit for each shown > celcius > value. > Would it also be possible to not use x2 for that but have both values (°C > and > °F) on the x1 axis? > > Thanks for any help or hints > Lynx > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/two-different-x-ranges-for-the-same-plot-tp29702232p29715957.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |