You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: Jefferson S. E. P. <st...@gm...> - 2012-08-18 22:02:29
|
Hi Luigi, to what Dieter Jurzitza already said I only add that you'll see better your intersection with the x-axis if you adjust the range of the plot, for example: set xrange [0:10] set xrange [0:10] plot -0.9+9.638*x**(-1.394) w l lw 2 With the default ranges all you'll see is indeed that divergence of your function as x->0. Cheers, Jefferson On Sat, Aug 18, 2012 at 11:06 PM, Luigi <dri...@li...> wrote: > Hi. I was trying to plot the following function: > > -0.9+9.638x^(-1.394) > > by using the command > > plot y=-0.9+9.638x**(-1.394) > > The problem is that the intersection with the x-axis (y=0) should be at > around x=5.47, but the function's plot just approaches y=0 as an asymptote. > > When I try to plot it with Maxima, the intersection is correct. > > Is there something wrong in the syntax of the command? Thanks. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Dr. I. D. J. <die...@t-...> - 2012-08-18 21:47:54
|
Hi Luigi,
I am sure you did something wrong. First of all, your formula is erratic as it
should be
f(x)=-0.9+9.638*x**(-1.394)
please note the "*" between the factor (9.638) and the power of x ...
secondly the command plot y= something does not work, what you ought to do is
either
plot -0.9+9.638*x**(-1.394) w l lw 2
or say
f(x)=-0.9+9.638*x**(-1.394)
plot f(x) w l lw 2
to provide an example. In both cases I get the zero crossing around x=5.479
Hope this helps,
take care
Dieter Jurzitza
On Samstag, 18. August 2012 23:06:27 Luigi wrote:
> Hi. I was trying to plot the following function:
>
> -0.9+9.638x^(-1.394)
>
> by using the command
>
> plot y=-0.9+9.638x**(-1.394)
>
> The problem is that the intersection with the x-axis (y=0) should be at
**************
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|
|
From: Luigi <dri...@li...> - 2012-08-18 21:06:35
|
Hi. I was trying to plot the following function: -0.9+9.638x^(-1.394) by using the command plot y=-0.9+9.638x**(-1.394) The problem is that the intersection with the x-axis (y=0) should be at around x=5.47, but the function's plot just approaches y=0 as an asymptote. When I try to plot it with Maxima, the intersection is correct. Is there something wrong in the syntax of the command? Thanks. |
|
From: bitsaint <bit...@gm...> - 2012-08-06 08:32:10
|
Hello everyone,
im trying to have 4 x-y axis in the results of multiplot. I want to have a
standard background in each x-y axis.
Unfortunatelly im getting the error "
plot "Floor2.png" binary filetype=png w rgbimage
^
"multiex.txt", line 12: Unsupported file type
"
You can see my gnuplot script below
set style function lines
set size 1.0, 1.0
set origin 0.0, 0.0
set output "map.png"
set multiplot
set size 0.5,0.5
set origin 0.0,0.5
set grid
unset key
set angles radians
set samples 250
plot "Floor2.png" binary filetype=jpg w rgbimage
# Plot 1
set title "Stats 1"
set xlabel "x"
set ylabel "y"
set xrange [0:46]
set yrange [0:31]
plot "stats4.dat" w p pt 7 lc rgb"#00FF00" notitle
plot "stats.dat" w p pt 7 lc rgb"#ff0000" notitle
# Plot 2
set size 0.5,0.5
set origin 0.0,0.0
set title "Stats 2"
set ylabel "y"
set xrange [0:46]
set yrange [0:31]
plot "stats4.dat" w p pt 7 lc rgb"#00FF00" notitle
plot "stats.dat" w p pt 7 lc rgb"#ff0000" notitle
# Plot 3
set size 0.5,0.5
set origin 0.5,0.5
set title "Stats 3"
set ylabel "y"
set xlabel "x"
set xrange [0:46]
set yrange [0:31]
plot "stats4.dat" w p pt 7 lc rgb"#00FF00" notitle
plot "stats.dat" w p pt 7 lc rgb"#ff0000" notitle
#
# Plot 4
set origin .5,0.
set title "Stats 4"
set xrange [0:46]
set yrange [0:31]
plot "stats4.dat" w p pt 7 lc rgb"#00FF00" notitle
plot "stats.dat" w p pt 7 lc rgb"#ff0000" notitle
unset multiplot
pause mouse any "Any key or mouse will terminate"
can someone help please?
Thanx :)
--
View this message in context: http://old.nabble.com/Image-as-background-in-multiplot-tp34257136p34257136.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Tilly <new...@go...> - 2012-08-02 17:16:30
|
Hello everyone! I wanted to create a bar graph from three different dat. files. For the x-value in 1918, the numbers of all files are displayed as a bar. The structure of the data looks like this: # num-nat.dat 1918 1542 1919 1478 ... # num-mem.dat 1918 13542 1919 14478 ... # num-small.dat 1918 17421 1919 16278 ... In the plot the bars are on top of each other and are covered by the largest ones. <Code> set yrange [0:21000] set xrange [1917.5:1929.5] set xtics 1 set style data histogram set style histogram clustered set style fill solid border lt -1 #unset style fill set boxwidth 0.25 set bars 1 plot "anzahl-nat.dat" title "FED" with boxes, "anzahl-mem.dat" title "Member" with boxes, "anzahl-small.dat" title "Small" with boxes </Code> Can someone please give an example of the right plot command? Thanks, Tilly |
|
From: Lev A. M. <mel...@ma...> - 2012-08-02 08:32:23
|
Walter, thank you for your reply.
First, I don't care if the data are binary or not - "external function" is
implemented by me. I can output whatever needed, be it text, binary,
tertiary, anything.
What I do need is probably a bidirectional interprocess communication.
Gnuplot (splot) sends the argument list for each grid point and my program
sends back the function evaluated for these arguments.
<a> popen() is 1-way
<b> I don't know how to invoke popen from gnuplot
The function can not be effectively precomputed because the data range
is not specified beforehand. And actually contour plotting requires a
grid, and if I understand correctly (?) a grid can not be stored in the
data file, this requires explicit (resource-expensive) conversion.
For example, this works:
f(x,y)=real(system(sprintf("./func %f %f",y,x)))
splot(f(x,y))
where the external program func is below:
#include <stdio.h>
#include <stdlib.h>
main(int argc, char **argv)
{
double x,y;
if(3!=argc)
exit(-1);
x=atof(argv[1]);
y=atof(argv[2]);
printf("%g",x*x+y*y);
return(0);
}
I only want to speed it up. Possible?
Thanks
-Lev
wh> I am not sure that i understand what you are trying to archive
wh>
wh> Writing the data to a file and reading that as matrix should be pretty fast.
wh> I assume you are aware that you can use binary data ? (http://gnuplot.sourceforge.net/demo_4.6/binary.html)
wh>
wh> if you can write a gnuplot script you can uses popen() that should be
wh> much better that system().
wh>
wh> Am 30.07.2012 22:42, schrieb Lev A. Melnikovsky:
wh> > Hi,
wh> >
wh> > the function I need to plot is a result of nontrivial computation (each data
wh> > point is obtained by solving an ODE). I have implemented it in C, but executing
wh> > the program with
wh> >
wh> > real(system(sprintf("somecommand %f %f", x, y)))
wh> >
wh> > once for each data point (this is a 3d surface) implies a significant overhead.
wh> > My program is statically linked, still this is too slow. I need grid data (to
wh> > create contours), so building the datafile is inefficient.
wh> >
wh> > Ideally I'd like to see an option to open a pipe and write the arguments to it
wh> > and read the results from it. My program would be glad to work in this mode. Is
wh> > this possible?
wh> >
wh> > I'm using Linux if this matters.
wh> >
wh>
wh> re,
wh> wh
wh>
|
|
From: nhilker <Nat...@ec...> - 2012-08-01 14:41:08
|
Hi, I am attempting to create an image plot of 3-dimensional matrix data in which the x-axis is date/time data. I have had success doing this using 'set timefmt "%s"', but this seems to fail in certain scenarios. To see what I mean, observe the following simplified examples. Example 1: The plot appears to function properly here. testdat.csv: 4,20000001,20000002,20000003,20000004 0.265,10,8,5,30000 0.290,110,7,6,5000 0.320,1200,8,7,600 0.375,13000,9,8,70 0.450,230,25,765,4 1.000,45,1000,20,1500 http://old.nabble.com/file/p34241078/testplot1.png Example 2: Simply adding a zero to each date/time observation causes the image plot to plot along a diagonal. Interestingly enough, if you add yet another zero to these values, the plot will function properly again. Can anyone explain what is going on here? testdat.csv: 4,200000010,200000020,200000030,200000040 0.265,10,8,5,30000 0.290,110,7,6,5000 0.320,1200,8,7,600 0.375,13000,9,8,70 0.450,230,25,765,4 1.000,45,1000,20,1500 http://old.nabble.com/file/p34241078/testplot2.png Example 3: Finally, this example gives me the error that I am trying to resolve: Warning: empty x range [2e+008:2e+008], adjusting to [1.98e+008:2.02e+008] "nonuniform_matrix.p", line 31: warning: Image grid must be at least 2x2. What is causing this error and how can I fix it? testdat.csv: 4,200000001,200000002,200000003,200000004 0.265,10,8,5,30000 0.290,110,7,6,5000 0.320,1200,8,7,600 0.375,13000,9,8,70 0.450,230,25,765,4 1.000,45,1000,20,1500 http://old.nabble.com/file/p34241078/testplot3.png Script (nonuniform_matrix.p): set terminal png size 1024,768 set datafile separator "," set output "testplot.png" set xlabel "Date/Time" set ylabel "Counts (Median Bin Diameter [µm])" set xdata time set timefmt "%s" set format x "%Y-%m-%d\n%H:%M:%S" set yrange[0.1915:1.0735] set ytics("0.265" 0.265, "0.290" 0.412, "0.320" 0.559, "0.375" 0.706, "0.450" 0.853, "1.000" 1) set palette rgbformulae 0, 13, 10 set palette negative set logscale cb set cbrange [1:100000] set view map splot "testdat.csv" nonuniform matrix with image failsafe -- View this message in context: http://old.nabble.com/Matrix-Time-Format-tp34241078p34241078.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: walter h. <wh...@bf...> - 2012-07-31 13:26:25
|
Am 30.07.2012 22:42, schrieb Lev A. Melnikovsky:
> Hi,
>
> the function I need to plot is a result of nontrivial computation (each data
> point is obtained by solving an ODE). I have implemented it in C, but executing
> the program with
>
> real(system(sprintf("somecommand %f %f", x, y)))
>
> once for each data point (this is a 3d surface) implies a significant overhead.
> My program is statically linked, still this is too slow. I need grid data (to
> create contours), so building the datafile is inefficient.
>
> Ideally I'd like to see an option to open a pipe and write the arguments to it
> and read the results from it. My program would be glad to work in this mode. Is
> this possible?
>
> I'm using Linux if this matters.
>
I am not sure that i understand what you are trying to archive
Writing the data to a file and reading that as matrix should be pretty fast.
I assume you are aware that you can use binary data ? (http://gnuplot.sourceforge.net/demo_4.6/binary.html)
if you can write a gnuplot script you can uses popen() that should be
much better that system().
re,
wh
|
|
From: Lev A. M. <mel...@ma...> - 2012-07-30 20:43:58
|
Hi,
the function I need to plot is a result of nontrivial computation (each data
point is obtained by solving an ODE). I have implemented it in C, but executing
the program with
real(system(sprintf("somecommand %f %f", x, y)))
once for each data point (this is a 3d surface) implies a significant overhead.
My program is statically linked, still this is too slow. I need grid data (to
create contours), so building the datafile is inefficient.
Ideally I'd like to see an option to open a pipe and write the arguments to it
and read the results from it. My program would be glad to work in this mode. Is
this possible?
I'm using Linux if this matters.
Thanks in advance
-L
|
|
From: Christian a. B. <sch...@gm...> - 2012-07-30 11:07:15
|
Hi folks, I want to plot a surface plot of the following file: http://old.nabble.com/file/p34223810/population.txt population.txt It is sorted by the first column and there is a line break whenever the value in the first column changes. The format is: x y f(x,y) A normal splot yields reasonable results in 3D, but for better readability I just want a surface map using pm3d. However, this yields only weird triangles. Any ideas? Thanks a lot in advance |
|
From: whining_dwarf <ma...@ii...> - 2012-07-28 09:24:28
|
Hi folks, I want to plot a surface plot of the following file: http://old.nabble.com/file/p34223810/population.txt population.txt It is sorted by the first column and there is a line break whenever the value in the first column changes. The format is: x y f(x,y) A normal splot yields reasonable results in 3D, but for better readability I just want a surface map using pm3d. However, this yields only weird triangles. Any ideas? Thanks a lot in advance -- View this message in context: http://old.nabble.com/pm3d-plots-only-triangles-tp34223810p34223810.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: BBands <bb...@gm...> - 2012-07-26 14:15:30
|
gnuplot gives you extensive control over the types of lines, but this
is somewhat dependent on the terminal you are using. See 'help lines'
and 'help linestyle'. Also check the help for your terminal, for
example 'help term wxt', to see what line types it is capable of.
Best,
John
On Wed, Jul 25, 2012 at 10:56 PM, gbliu <goo...@gm...> wrote:
> Hello erveryone,
>
> I want to set the style of dashed line, that is, how dashed the line is.
> e.g. - - - - or - - - - or -- -- -- ....
> How can I do it?
|
|
From: gbliu <goo...@gm...> - 2012-07-26 05:56:19
|
Hello erveryone, I want to set the style of dashed line, that is, how dashed the line is. e.g. - - - - or - - - - or -- -- -- .... How can I do it? gbliu |
|
From: Thomas S. <t.s...@fz...> - 2012-07-24 11:18:14
|
set multiplot set size 0.5,0.5 set origin 0.0,0.5 plot ... set origin 0.5,0.5 plot ... set size 1.0,0.5 set origin 0.0,0.0 plot ... unset multiplot to have the borders of the plots aligned you may have to set the margins explicitely. rpm wrote: > > Hi, > > I've been googling but failed to find an answer :) > > I would like to place 2 smaller plots at the top and 1 long plot that > would span both columns at the bottom (and create a single figure with > these). In Matlab, when creating an array of plots (2x2) you have the > possibility to merge columns. So, the layout I want to get is: > > |plot 1|plot 2| > | plot 3 | > > Is this possible? How? > > Thanks! > -- View this message in context: http://old.nabble.com/Multiplot-tp34198007p34204734.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Amol H. <am...@gm...> - 2012-07-21 01:06:44
|
Best way to write a simple c++ code which prints the gnuplot syntax and
just pipe the executable with gnuplot like,
$ ./a.out | gnuplot
It will show you the animation of the data. The delay can be controlled via
c++ function system("sleep 1s")
On Jul 21, 2012 12:15 AM, "(((1/f)))" <fa...@gm...> wrote:
> Hi Nunzio,
>
> ......I use a simpler method.
>
> This is meant for a slightly different purpose, but you can modify it.
> The name of the file can be "xyz.gnu" or "xyz.gp" when you load it.
> Let me know if the script below helps. I just copied it from a folder
> from 2-3 months ago.
>
> cheers,
> -------------------------------------------------------
> (((1/f))) *http://fadereu.posterous.com/*
> -------------------------------------------------------
> *
> *
> *
> reset
> set terminal gif animate delay 10
> set obj 1 rectangle behind from screen 0,0 to screen 1,1
> set obj 1 fillstyle solid 1 fillcolor rgb "sandybrown"
> set key top right box tc rgbcolor 'white' font 'Helvetica,8'
> set label "ZetaTrek 2012" at 80,-110 tc rgbcolor "black" font 'Helvetica,8'
> set output 'apr02.gif'
> do for [t=0:30] {
> plot [-100:100] [-100:100] t*3 - x**2 ls 7, \
> t + 2*x ls 7, \
> t**2 + x ls 7, \
> 11*t - 23*x ls 7,\
> 5*x - t ls 7, \
> 7*x - t**3 ls 7, \
> 13*t - 4*x ls 3
> }
> *
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: (((1/f))) <fa...@gm...> - 2012-07-20 18:45:08
|
Hi Nunzio, ......I use a simpler method. This is meant for a slightly different purpose, but you can modify it. The name of the file can be "xyz.gnu" or "xyz.gp" when you load it. Let me know if the script below helps. I just copied it from a folder from 2-3 months ago. cheers, ------------------------------------------------------- (((1/f))) *http://fadereu.posterous.com/* ------------------------------------------------------- * * * reset set terminal gif animate delay 10 set obj 1 rectangle behind from screen 0,0 to screen 1,1 set obj 1 fillstyle solid 1 fillcolor rgb "sandybrown" set key top right box tc rgbcolor 'white' font 'Helvetica,8' set label "ZetaTrek 2012" at 80,-110 tc rgbcolor "black" font 'Helvetica,8' set output 'apr02.gif' do for [t=0:30] { plot [-100:100] [-100:100] t*3 - x**2 ls 7, \ t + 2*x ls 7, \ t**2 + x ls 7, \ 11*t - 23*x ls 7,\ 5*x - t ls 7, \ 7*x - t**3 ls 7, \ 13*t - 4*x ls 3 } * |
|
From: Nunzio L. <nun...@gm...> - 2012-07-20 18:23:10
|
Hi think I've found the solution, something like created a file "command.gp": set parametric plot "$0" using 1:(a=column(1),b=column(2),NaN) every ::count::count notitle, cos(t)+a,sin(t)+b,"$0" u 1:2 every ::::count w lines count = count+1 if (count<1000) reread and then in gnuplot command-line: count=0 call 'command.gp' 'datafile.dat' Now, the "if. ..." line presumes the number of datapoints is fixed (i.e. 1000 in this case). Is there a way to change this into "reread until End-of-File is reached"?? Regards, NL. 2012/7/20 Nunzio Losacco <nun...@gm...> > Hi everyone, > > I'm thinking of creating an animated plot. > > I have a datafile containing with six columns: > the first column is the timestep value, monotonically increasing from 0.0 > to 10.0. > For each timestep value in column 1 columns 2, 3 and 4 contain the > coordinates of the centre and the radius of a circle whereas columns 5 and > 6 contain the coordinates of a given point on the former circle. > My animation should show the evolution of the circle and a line indicating > the path of the point indicated by the coords in coumns 5 and 6. > > Is it possible to do something like that with gnuplot 4.7 ? > > > Regards, > > NL > > |
|
From: Nunzio L. <nun...@gm...> - 2012-07-20 14:29:41
|
Hi everyone, I'm thinking of creating an animated plot. I have a datafile containing with six columns: the first column is the timestep value, monotonically increasing from 0.0 to 10.0. For each timestep value in column 1 columns 2, 3 and 4 contain the coordinates of the centre and the radius of a circle whereas columns 5 and 6 contain the coordinates of a given point on the former circle. My animation should show the evolution of the circle and a line indicating the path of the point indicated by the coords in coumns 5 and 6. Is it possible to do something like that with gnuplot 4.7 ? Regards, NL |
|
From: BBands <bb...@gm...> - 2012-07-19 21:34:09
|
Type 'test' at the gnuplot prompt to see the lines styles for your terminal.
John
On Thu, Jul 19, 2012 at 1:58 PM, Andrew DeYoung <ade...@an...> wrote:
> Hi,
>
> This is probably an obvious question, but I am wondering if you can please
> help me since I am very new to gnuplot. I have been doing a lot of Google
> searches, and I have had no success in finding a list of the line styles
> available in `gnuplot`. Do you know if such a compendium/compiled list
> exists?
|
|
From: Andrew D. <ade...@an...> - 2012-07-19 20:57:59
|
Hi, This is probably an obvious question, but I am wondering if you can please help me since I am very new to gnuplot. I have been doing a lot of Google searches, and I have had no success in finding a list of the line styles available in `gnuplot`. Do you know if such a compendium/compiled list exists? Thank you so much for your time! Andrew |
|
From: Thomas S. <t.s...@fz...> - 2012-07-14 20:47:50
|
Andrew DeYoung <adeyoung <at> andrew.cmu.edu> writes: > > Hi, > > Suppose that I have a PostScript file containing a plot which was generated > using gnuplot. However, I do not have the source data, nor do I have the > gnuplot commands that were used to generate the plot. > > Do you know of any way to somehow extract data from a graphic representation > (i.e., a PostScript file)? Such code would have to literally "read off of > the graph" (in particular, I have a smoothed line/scatter XY plot) from the > pixel representation, and I know that the results would be approximate at > best (but this would still be very highly desirable). > > Do you have any experience with this? Thank you for your time! > > Andrew DeYoung > Carnegie Mellon University > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnuplot-info <at> lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > because postscript is a programming language, the postscript file contains all commands to generate the plot. you need to determine the box surrounding the plot (normally the axes) in postscript units (near the end of the postscript file), and then with the knowledge of the original axis ranges (which you see when printing/viewing the postscript file) you may transform the plotted points or lines back into the original coordinate system. with some basic knowledge of the postscript language it's relatively easy to extract the data. you may make a copy of the postscript file, open it with a normal text editor, and try to identify the components. sometimes it helps to change the color by inserting a line like 1.0 0.0 0.0 setrgbcolor into the file and see which lines turn to red when viewing the file with ghostscript. an example: somewhere in the prologe section some commands are redefined (to save filespace): ... /M {moveto} bind def /L {lineto} bind def /R {rmoveto} bind def /V {rlineto} bind def /N {newpath moveto} bind def /Z {closepath} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def /g {setgray} bind def ... later in the file these commands are used (the following is near the end of the file): ... % End plot #1 stroke LTb 546 4871 N 546 280 L 6401 0 V 0 4591 V -6401 0 V Z stroke 1.000 UP 1.000 UL LTb stroke grestore end showpage ... the above draws the box around the plot moveto 546 4871 lineto 546 280 relativelineto 6401 0 relativelineto 0 4591 relativelineto -6401 0 that means the xaxis ranges from 546 to 6947 and the yaxis from 280 to 4871. i plotted a sin function using default ranges (i.e. xrange [-10:10], yrange [-1:1]), so for the xaxis 546 corresponds to -10. 6947 corresponds to 10. and for the yaxis 280 corresponds to -1. 4871 corresponds to 1. the datapoints or function line segments are plotted the same way like the above box: ... 546 3824 M 65 -412 V 64 -445 V 65 -462 V 65 -459 V 64 -438 V ... which is (in original coordinates): moveto -10.,0.5438 rlineto 0.0203, -0.1795 rlineto 0.0200, -0.1939 a.s.o. |
|
From: Andrew D. <ade...@an...> - 2012-07-14 15:24:05
|
Hi, Suppose that I have a PostScript file containing a plot which was generated using gnuplot. However, I do not have the source data, nor do I have the gnuplot commands that were used to generate the plot. Do you know of any way to somehow extract data from a graphic representation (i.e., a PostScript file)? Such code would have to literally "read off of the graph" (in particular, I have a smoothed line/scatter XY plot) from the pixel representation, and I know that the results would be approximate at best (but this would still be very highly desirable). Do you have any experience with this? Thank you for your time! Andrew DeYoung Carnegie Mellon University |
|
From: watashi <wa...@po...> - 2012-07-12 14:22:54
|
The default display of line width (or thickness) and font size is small and therefore I modify quite a bit according to Google search. While pointsize and linewidth work, the following codes don't work at all. set key font ",24" set ylabel "ratio" font ",36" set ytics font ",36" set key font ",24" returns an error of "font" not found. The other codes do not return errors, but the font size doesn't change at all. I'm using tcsh Linux centos117 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux gnuplot 4.0 and 4.4.4 both don't work. -- View this message in context: http://old.nabble.com/Failure-of-displaying-features-tp34150592p34150592.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-07-07 09:15:12
|
On 07.07.2012 01:45, Simon Garfunkel wrote: > Anyway in my particular situation these "missed approximations" > have a disastrous effect, since I'm creating classes for an hystogram: > > gnuplot> print int(19.1/0.1) > 191 > gnuplot> print int(19.2/0.1) > 191 [...] > Undoubtedly unconvincing classes. That's because you put your class boundaries exactly on those points where you want to check. In effect you're comparing floating-point numbers for exact equality, which is never a good idea. Hence that "hardly ever 1.0" line I quoted earlier. Yes, you could use an offset. But ultimately nothing can really help. Wherever you place your class boundaries, sometimes the inevitable floating-point round-off _will_ move data right across that boundary. |
|
From: Simon G. <tar...@gm...> - 2012-07-06 23:45:42
|
Ok, thank you for being kind with my ignorance. Anyway in my particular situation these "missed approximations" have a disastrous effect, since I'm creating classes for an hystogram: gnuplot> print int(19.1/0.1) 191 gnuplot> print int(19.2/0.1) 191 gnuplot> print int(19.3/0.1) 193 gnuplot> print int(19.4/0.1) 193 gnuplot> print int(19.5/0.1) 195 gnuplot> print int(19.6/0.1) 196 gnuplot> print int(19.7/0.1) 196 gnuplot> print int(19.8/0.1) 198 Undoubtedly unconvincing classes. I'm bypassing it using bind(x, l) = int(x/l) * l plot 'data' using ( bind($1 * 10**6, width * 10**6) * 10**(-6) ): [...] I think that for my particular data (19.1, 19.5, 19,6, 19.2, ... ) can be used also plot 'data' using ( bind($1 +0.05, width) ): [...] or even the suggested "+ eps". Well, this was my really problem! Thank you again for explanations |