Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Two x-axes
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3331 of 3498
Post > Topic >>

Two x-axes

by "andreas.profous@[EMAIL PROTECTED] " <andreas.profous@[EMAIL PROTECTED] May 27, 2008 at 05:21 AM

Hi,

suppose you want to plot a distance - speed diagram that has two x-
axes:
distance in kilometers and distance in miles.

I guess i could use

set xlabel "km"
set x2label "miles"
plot [] [] "speeds.dat" using ($1):($3) ti "speed" axis x1y1 , \
            "speeds.dat" using ($2):($3) ti "speed" axis x2y1

But that produces the same two plots that are both visible in the
legend.
All I really want is the indication of the x2tics.

Is there a way to do this?
Thanks,
Andreas
 




 5 Posts in Topic:
Two x-axes
"andreas.profous@[EM  2008-05-27 05:21:00 
Re: Two x-axes
"andreas.profous@[EM  2008-05-27 05:30:08 
Re: Two x-axes
=?ISO-8859-1?Q?Hans-Bernh  2008-05-27 22:19:10 
Re: Two x-axes
"andreas.profous@[EM  2008-05-29 04:23:16 
Re: Two x-axes
Tim Hoffmann <tim.hoff  2008-05-29 21:06:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 16:45:06 CDT 2008.