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


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

Directly specify xtics to plot

Newsgroups comp.graphics.apps.gnuplot
Date 2017-08-28 13:08 -0700
Message-ID <75e880b2-889d-4891-af43-dc6e17ba9e20@googlegroups.com> (permalink)
Subject Directly specify xtics to plot
From adhysatya820@gmail.com

Show all headers | View raw


Hi,

In my script, I am defining the xtics as follows:

    set xrange [0:1]
    set xtics ("50-Nodes" 0, "90-Nodes" 1)

Then, I want to plot one dataset on "0" and the other at position "1". So far I'm doing this:

    plot './df-1.csv' u 1:3:4:5 w yerrorbars lt rgb 'red' ti '50-Nodes', \
         './df-2.csv' u 1:3:4:5 w yerrorbars lt rgb 'blue' ti '90-Nodes'

But both lines are on top of the 50-Nodes xtic.

How do I move the second plot to the second xtic?

Thanks

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


Thread

Directly specify xtics to plot adhysatya820@gmail.com - 2017-08-28 13:08 -0700
  Re: Directly specify xtics to plot Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-08-28 15:11 -0700

csiph-web