Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #985

Re: alignmnet values xaxes and x2 axes

Path csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: alignmnet values xaxes and x2 axes
Followup-To comp.graphics.apps.gnuplot
Date Sat, 17 Mar 2012 23:45:13 -0700
Organization gnuplot development team
Lines 23
Message-ID <jk409p$ask$2@dont-email.me> (permalink)
References <9skfejF13cU1@mid.uni-berlin.de> <jk406f$ask$1@dont-email.me>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
Injection-Date Sun, 18 Mar 2012 06:45:13 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="11156"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zLZUZjAo1A702DtG46PxS"
User-Agent KNode/4.4.9
Cancel-Lock sha1:TeUERR/3Mjh6CcITWDAvl+y/99M=
Xref csiph.com comp.graphics.apps.gnuplot:985

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


> If it's just a question of having both values labeled for each
> time point, you might try:
> 
> set datafile separator ","
> set xlabel "Time"
> set x2label "Distance"
> set xtics
> set x2tics
> plot 'file' using 1:3:xtics(1):x2tics(2)
                        ^^^^^^^^^^^^^^^  

> The labels along x2 will be correct, but the axis will be slightly
> non-linear.

sorry, typo.
That should be 

  plot 'file' using 1:3:xticlabels(1):x2ticlabels(2)

> 
>> Thanks,
>> Klaus

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

alignmnet values xaxes and x2 axes Klaus Dahlke <klaus.dahlke@gmx.de> - 2012-03-17 21:53 +0000
  Re: alignmnet values xaxes and x2 axes sfeam <sfeam@users.sourceforge.net> - 2012-03-17 23:43 -0700
    Re: alignmnet values xaxes and x2 axes sfeam <sfeam@users.sourceforge.net> - 2012-03-17 23:45 -0700
    Re: alignmnet values xaxes and x2 axes Klaus Dahlke <klaus.dahlke@gmx.de> - 2012-03-18 11:07 +0000

csiph-web