|
From: Thomas S. <t.s...@fz...> - 2010-10-22 13:58:49
|
with fixed axis ranges and defined xtics increment, yes: c2f(x)=x*9./5.+32. set xrange [0:100] set x2range [c2f(0):c2f(100)] set xtics out nomirror set xtics 10 set x2tics c2f(0),c2f(10)-c2f(0),c2f(100) set format x "\n%g" set format x2 "%g" set x2tics axis plot x lynx.abraxas wrote: > > On 15/09/10 00:34:40, Thomas Sefzick wrote: >> >> 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 >> > > Thanks Johannes and Thomas for Your answers. > I'm wondering though, if it is possible in Thomas' idea to have the > x2tics > only appear where there is an xtic. Can the xaxis' and the x2axis' tics > be > correlated in such a way? > > Thanks for Your answers and any further help or hints on this. > Lynx > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > 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-tp29702232p30028960.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |