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


Groups > comp.graphics.apps.gnuplot > #3166 > unrolled thread

plotting a grouped columns

Started byarbi.akhina@gmail.com
First post2016-01-21 08:49 -0800
Last post2016-01-22 17:16 +0100
Articles 5 — 4 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  plotting a grouped columns arbi.akhina@gmail.com - 2016-01-21 08:49 -0800
    Re: plotting a grouped columns Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-21 23:19 +0100
      Re: plotting a grouped columns Arbi Akhina <arbi.akhina@gmail.com> - 2016-01-22 02:06 -0800
        Re: plotting a grouped columns Karl Ratzsch <mail.kfr@gmx.net> - 2016-01-22 13:09 +0100
        Re: plotting a grouped columns Jörg Buchholz <bookwood4news@freenet.de> - 2016-01-22 17:16 +0100

#3166 — plotting a grouped columns

Fromarbi.akhina@gmail.com
Date2016-01-21 08:49 -0800
Subjectplotting a grouped columns
Message-ID<8c63223e-52c1-4130-9b54-3cfbda899fef@googlegroups.com>
Hi,

I've a data file of the form x1, x2, x3, y which I generated after a bench tests. All xi variables has 5 possible values.
Any hint on how I could plot this using gnuplot?

bests,

[toc] | [next] | [standalone]


#3167

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-01-21 23:19 +0100
Message-ID<n7rlh6$qkj$1@solani.org>
In reply to#3166
Am 21.01.2016 um 17:49 schrieb arbi.akhina@gmail.com:
> Hi,
> 
> I've a data file of the form x1, x2, x3, y which I generated after a bench tests. All xi variables has 5 possible values.
> Any hint on how I could plot this using gnuplot?
> 

When you plot a datafile, there is no real difference between
abscissa and ordinate values:

dataf = "filename.dat"
plot dataf using 1:4, dataf using 2:4, dataf us 3:4

?

[toc] | [prev] | [next] | [standalone]


#3168

FromArbi Akhina <arbi.akhina@gmail.com>
Date2016-01-22 02:06 -0800
Message-ID<4ed755cf-3de3-49d6-bd81-35bdd4324872@googlegroups.com>
In reply to#3167
Thanks for the hint, however y=f(x1, x2, x3) so I can't just plot y for x1, than add a graph of y for x2, ..
I'm looking for a way to group the xi variables, I was thinking about having x1 at the abscissa and y for ordinate then for each x2 value i'll have a line, but don't know how to do so!!!

On Thursday, January 21, 2016 at 11:19:19 PM UTC+1, Karl Ratzsch wrote:
> Am 21.01.2016 um 17:49 schrieb arbi.akhina@gmail.com:
> > Hi,
> > 
> > I've a data file of the form x1, x2, x3, y which I generated after a bench tests. All xi variables has 5 possible values.
> > Any hint on how I could plot this using gnuplot?
> > 
> 
> When you plot a datafile, there is no real difference between
> abscissa and ordinate values:
> 
> dataf = "filename.dat"
> plot dataf using 1:4, dataf using 2:4, dataf us 3:4
> 
> ?

[toc] | [prev] | [next] | [standalone]


#3169

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2016-01-22 13:09 +0100
Message-ID<n7t65j$c59$1@solani.org>
In reply to#3168
Am 22.01.2016 um 11:06 schrieb Arbi Akhina:
> Thanks for the hint, however y=f(x1, x2, x3) so I can't just plot y for x1, than add a graph of y for x2, ..
> I'm looking for a way to group the xi variables, I was thinking about having x1 at the abscissa and y for ordinate then for each x2 value i'll have a line, but don't know how to do so!!!


I don't think i exactly understand what you're after, but have you
seen the plot style "with vectors" ?

  plot dataf us 1:4, dataf us 2:(0):(0):4 with vectors nohead

[toc] | [prev] | [next] | [standalone]


#3170

FromJörg Buchholz <bookwood4news@freenet.de>
Date2016-01-22 17:16 +0100
Message-ID<n7tker$5n6$1@dont-email.me>
In reply to#3168
On 22.01.2016 11:06, Arbi Akhina wrote:
> Thanks for the hint, however y=f(x1, x2, x3) so I can't just plot y
> for x1, than add a graph of y for x2, .. I'm looking for a way to
> group the xi variables, I was thinking about having x1 at the
> abscissa and y for ordinate then for each x2 value i'll have a line,
> but don't know how to do so!!!

Do you mean 3 x-axis? You can't have a line for each value. A value is 
only a point.
Or something like Parallel axis? 
<http://gnuplot.sourceforge.net/demo/parallel.html>

Jörg

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web