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

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Help me please plot on x2y1 axes
Date 2016-01-27 17:14 +0100
Organization solani.org
Message-ID <n8aqdk$uhl$1@solani.org> (permalink)
References <0a6609be-3d03-43cb-9187-6202a6046ea9@googlegroups.com>

Show all headers | 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