4 Attachment(s)
Quote:
Code:
gnuplot> plot 'h1.dat' u 1:4 ti 'h1-Temperature' w l linestyle 1,"h2.dat" u 1:4 ti 'h2-Temperature' w l linestyle 2,"h3.dat" u 1:4 ti "h3-Temperature" with lp linestyle 3 |
3 Attachment(s)
But that works for another case with attached files.
Quote:
|
this error shown when I added "every" option,what may be the cause?
Code:
gnuplot> load "Ux.plt" |
Quote:
Quote:
With the method I described, the line within the plot will be continuous and contain all data points, while there will only be few points to enhance visibility. Quote:
Not 100% sure about the correct sequence, so try one of the following Code:
plot 'h1.dat' u 1:7 w l linestyle 1 t 'h1-x_Velocity',"h2.dat" u 1:7 w l linestyle 2 t 'h2-x_Velocity',"h3.dat" every 5 u 1:7 with p linestyle 3 t "h3-x_Velocity" |
Quote:
Code:
gnuplot> plot "p.plt" |
Greetings to all!
I don't have much time to spare today, so I can't play with gnuplot myself :(. Nonetheless, here are the instructions for installing the gnuplot documentation and example on Ubuntu:
Bruno |
Hi
that resolved,the ranges wasn't appropriate, but I didn't grasp how to set linestyles to have lines and points concurrently and points be less.:confused: |
1 Attachment(s)
it resolved,thanks,
the attached is the result with this command: Code:
plot 'h1.dat' u 1:3 ti 'h1-pressure' w l linestyle 1,"h2.dat" u 1:3 ti 'h2-pressure' w l linestyle 2,"h3.dat" u 1:3 every 20 with lp linestyle 3 t "h3-pressure" |
an issue is that the output page that graph is plotted on that has fixed size.
my data's are very high in numbers in x-axis side.I want my graph be wider without need to make it smaller in y-direction by size commands.I want to have a more wider page in fact rather than a smaller graph in the same page output. is there any way to change dimensions of output page? it seems it has compacted in x-direction now. |
another issue is that is it possible to do some calculations on columns before plotting by gnuplot,like multiplying one column to another column and divide by a constant?
|
Quote:
Code:
set terminal pngcairo size 1200, 600 Quote:
Code:
plot 'h1.dat' u 1:($2*5.0) |
thanks Alex,
how I should act if I want to for example subtract two columns in two data files from each other? |
I have no idea, and apparently, there is no way to do this in gnuplot directly.
But google seems to know another way to do this if you search for "gnuplot compare two files" and hit the first result. You can be sure that EVERY question you might have concerning gnuplot has already been answered somewhere on the web. |
in this link:
http://objectmix.com/graphics/139945...le-figure.html it says to use: plot '< join fileA.dat fileB.dat' using 1:N+1 |
how can add all numbers in a column in gnuplot and the number of figures(for obtaining an average of them)?
|
this page seems to have some information about averaging in gnuplot but is banned here:(
can anyone help to read the page or know about averaging in gnuplot?:) http://gnuplot-tricks.blogspot.com/ |
1 Attachment(s)
http://www.phyast.pitt.edu/~zov1/gnu...tatistics.html
Quote:
|
thanks Alex,then how I have to use averaging?
|
I found this also,but isn't clear what have to do exactly.:confused:
http://www.manpagez.com/info/gnuplot...nuplot_419.php |
1 Attachment(s)
how can draw two sided arrows for specifying a part of plot parallel to x-direction?(arrow be in x-axis to distinguish a part of plot over a period of time)
for example in the figure attached I want to distinct 0.0347 till 0.0355 by an arrow. (is there a way to send this type of figures as image?) |
All times are GMT -4. The time now is 17:25. |