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


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

Directly specify xtics to plot

X-Received by 10.129.85.8 with SMTP id j8mr1365452ywb.188.1503950936129; Mon, 28 Aug 2017 13:08:56 -0700 (PDT)
X-Received by 10.36.181.90 with SMTP id j26mr1030iti.6.1503950935826; Mon, 28 Aug 2017 13:08:55 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!u11no338872qtu.1!news-out.google.com!j49ni378qtc.1!nntp.google.com!u11no338870qtu.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 28 Aug 2017 13:08:55 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=73.114.134.205; posting-account=-954BAoAAADfTl9ri2Z13X5Skr-eqMZ0
NNTP-Posting-Host 73.114.134.205
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <75e880b2-889d-4891-af43-dc6e17ba9e20@googlegroups.com> (permalink)
Subject Directly specify xtics to plot
From adhysatya820@gmail.com
Injection-Date Mon, 28 Aug 2017 20:08:56 +0000
Content-Type text/plain; charset="UTF-8"
Lines 16
Xref csiph.com comp.graphics.apps.gnuplot:3736

Show key headers only | 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