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


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

Re: Help me please plot on x2y1 axes

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Help me please plot on x2y1 axes
Date Wed, 27 Jan 2016 17:14:42 +0100
Organization solani.org
Lines 29
Message-ID <n8aqdk$uhl$1@solani.org> (permalink)
References <0a6609be-3d03-43cb-9187-6202a6046ea9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace solani.org 1453911284 31285 eJwNwoERADEEBMCWiMMp50fov4T8zrqFRifCA76+eSakBFSUCG2gK7hfLfvwqtUfbZacVNYD9I8Plg== (27 Jan 2016 16:14:44 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Wed, 27 Jan 2016 16:14:44 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
X-User-ID eJwFwQkBACAIBLBKgHBoHN7+EdzsgFGuMKitbfXduaJ5MkWsebvCR5fosYOlvZKQGjEeMh8x4RHe
In-Reply-To <0a6609be-3d03-43cb-9187-6202a6046ea9@googlegroups.com>
Cancel-Lock sha1:Rih3xnkeHAVIbS6fc1lYNshSNH0=
X-NNTP-Posting-Host eJwNycsJADAIBNGWVlw/KSdR7L+ECHN4MKYuXkE3p41NK+9jb5h3JCWPsArWoVpC8M4aU9gX/gEf5BDG
X-Enigmail-Draft-Status N1110
Xref csiph.com comp.graphics.apps.gnuplot:3181

Show key headers only | View raw


Am 27.01.2016 um 16:39 schrieb ggvasily@gmail.com:

> plot 'D:\week_3.txt' using 0:2:xtic(1) axes x2y2 with lines
> 
> but the graphic is obtained on the axes x1y1 - http://take.ms/2ZFId
> I need to graphic was reflected in the vertical plane.


I guess you want to use "x2tic(1)" to set ticlabels.

And you need to switch on the x2tics and y2tics beforehand, otherwise
the labels just won't show:

  set xtics nomirr
  set ytics nomirr
  set x2tics
  set y2tics
  plot x+sin(2*x) title "plots on x1y1 axis set", \
       '-' using 0:2:x2tic(1) axes x2y2 w l
  m 2
  n 1
  o 3
  p 1
  e

Instead of using the xticlabel() function, you might try to directly
read the dates as time data.

  Karl

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


Thread

Help me please plot on x2y1 axes ggvasily@gmail.com - 2016-01-27 07:39 -0800
  Re: Help me please plot on x2y1 axes Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-27 17:14 +0100
    Re: Help me please plot on x2y1 axes ggvasily@gmail.com - 2016-01-27 10:58 -0800
      Re: Help me please plot on x2y1 axes Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-27 21:36 +0100
        Re: Help me please plot on x2y1 axes ggvasily@gmail.com - 2016-01-27 13:40 -0800
        Re: Help me please plot on x2y1 axes ggvasily@gmail.com - 2016-01-27 13:43 -0800

csiph-web