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: Ludovic G. <b00...@es...> - 2013-03-09 17:09:00
|
Hi fellow gnuplot users,
>
> I made a C++ program that uses gnuplot as an interface, everything
> works fine
> unless the command given to gnuplot exceeds a limited size (20 I think):
>
> This is how the command is constructed:
>
> string command="plot \"wallet.txt\" using 1 w l";
> for (int i=2;i<vectwalletvect.size();i++)
> {
> command.append(", \"wallet.txt\" using "+inttostring(i)+" w l");
> }
> g11.cmd(command);
>
> Works well except when i is above 20...
>
> Please help!
>
> LG
>
|
|
From: Thomas S. <t.s...@fz...> - 2013-03-09 10:33:05
|
<kevintheobald <at> frontier.com> writes: > > Given the following data (simplified example): > > 3 2 > 2 3 > 3 2 > 3 2 > > I can plot a vertical-bar histogram with 1-unit buckets with the data in column 2 as follows: > > hist(x,width)=width*floor(x/width)+width/2.0 > set boxwidth 1 > plot 'gp' u (hist($2,1)):(1.0) sm f w boxes > > producing the expected result, with one bar of height 3 from 2-3 and one bar of height 1 from 3-4. > > Now I want to show data only from rows with 3 in column 1. Most info I've seen on this recommends using ?: to turn > unwanted rows into garbage, e.g., 1/0: > > plot 'gp' u (hist((($1==3)?$2:(1/0)),1)):(1.0) sm f w boxes > > Unfortunately, I don't get what I expect (a single bar of height 3 from 2-3). Instead, I get a bar of height 2 > with a horizontal line in the middle at y=1. I think it's actually superimposing two bars, one of height 1 > and one of height 2, because if I add another row '3 2' at the end, the height goes up to 3 (instead of 4) and the > line is still at y=1. It's as if the "bad" data in row 2 "breaks up" the data and plot doesn't realize row 1 and > rows 3-4 really belong to the same bucket, and it draws two bars, one in front of the other. > > Is there another way to do this? (Would prefer within gnuplot, rather than "filter the data before going > into gnuplot.) Or is this a known problem recently fixed? (I'm using 4.6.0.) > using the 'smooth frequency' option of the 'plot' command you could set the y-value to 0.0 for unwanted data instead of making data points undefined: plot 'gp' u (hist($2,1)):(($1==3)?1.0:0.0) sm f w boxes |
|
From: Theo <th...@gm...> - 2013-03-09 07:50:51
|
Hi all, so far without success, I tried to create an object (rectangle,circle,ellipse) with dashed or dotted border. I am using 'term pngcairo dashed' and arrows are shown nicely with the different linestyles. Something like the following does not work: set object rect at 0.5,0.5 size 0.5,0.5 fs empty border ls 2 Gnuplot doesn't like 'ls 2' after border. With the following set object rect at 0.5,0.5 size 0.5,0.5 fs empty border lt 0 I expected to get a dotted border, but no, it's solid! However, if I draw 'plot x with lines lt 0' I get a dotted line. Why not with the border of a rectangle, circle or ellipse? A workaraound for rectangles could be the drawing of four dashed/dotted arrows without heads. What about cirles and ellipses? Any ideas? Theo. |
|
From: <kev...@fr...> - 2013-03-09 01:32:14
|
Given the following data (simplified example): 3 2 2 3 3 2 3 2 I can plot a vertical-bar histogram with 1-unit buckets with the data in column 2 as follows: hist(x,width)=width*floor(x/width)+width/2.0 set boxwidth 1 plot 'gp' u (hist($2,1)):(1.0) sm f w boxes producing the expected result, with one bar of height 3 from 2-3 and one bar of height 1 from 3-4. Now I want to show data only from rows with 3 in column 1. Most info I've seen on this recommends using ?: to turn unwanted rows into garbage, e.g., 1/0: plot 'gp' u (hist((($1==3)?$2:(1/0)),1)):(1.0) sm f w boxes Unfortunately, I don't get what I expect (a single bar of height 3 from 2-3). Instead, I get a bar of height 2 with a horizontal line in the middle at y=1. I think it's actually superimposing two bars, one of height 1 and one of height 2, because if I add another row '3 2' at the end, the height goes up to 3 (instead of 4) and the line is still at y=1. It's as if the "bad" data in row 2 "breaks up" the data and plot doesn't realize row 1 and rows 3-4 really belong to the same bucket, and it draws two bars, one in front of the other. Is there another way to do this? (Would prefer within gnuplot, rather than "filter the data before going into gnuplot.) Or is this a known problem recently fixed? (I'm using 4.6.0.) |
|
From: Viallard A. <via...@sy...> - 2013-03-06 09:28:28
|
Hi there,
I see a weird thing with gnuplot.
I make plot of datas given by a velocity sensor. For each sample, there
are 3 values of 8 Bytes.
Earlier, the plot was made using a homemade utility to convert binary
values to ascii. These ascii datas were put into a file which was used
by gnuplot. It was the easier solution for me.
As this process take some time, I've try to do the same plot directly
with the binary file. I guessed it will be faster to make plot. And one
day (actually, it's today), after a lot of manual reading and some weird
troubles, I've successfuly done this.
After a party for celebrate my little victory, I do a time performance
check and I'm disapointed about the results. Here the output
(plot-txt.sh do the first solution, plot.sh do the binary solution) :
--------------------------------------------------
# time /usr/bin/plot-txt.sh /tmp/event-dclPWz
Generating plot '/tmp/test-txt.png' done !
real 0m 36.99s
user 0m 13.15s
sys 0m 2.95s
# time /usr/bin/plot.sh /tmp/event-dclPWz
Generating plot '/tmp/test.png' done
real 0m 44.37s
user 0m 12.19s
sys 0m 11.09s
--------------------------------------------------
Binary solution is slower than ascii ! It's sad.
How this can be possible ?
Here my "binary plot" script :
--------------------------------------------------
set terminal png linewidth 1 interlace size 800,600
set output "/tmp/test.png"
set title ' signals / time'
set xlabel ' Time (s) '
set ylabel ' Signals (mm/s) '
set xdata time
#set timefmt "%S"
set label "Peak : X=14.6 Y=10.4 Z=0.248" at graph 0.05,0.05
set grid
set style data lines
inscale(r)=(r*100)
genx(i)=(i*(1.0/1000))
set xrange [0:(2620*1.0/1000)]
plot \
"/tmp/event-dclPWz" binary skip=512 format="%lf%*lf%*lf" using
(genx($0)):(inscale($1)) title "X" with lines,\
"" binary skip=512 format="%*lf%lf%*lf" using
(genx($0)):(inscale($1)) title "Y" with lines,\
"" binary skip=512 format="%*lf%*lf%lf" using
(genx($0)):(inscale($1)) title "Z" with lines
--------------------------------------------------
There a way to improve efficiency of this script ? Why does binary plot
take more time ?
Anthony V.
--
.-------------------.-----------------------.-------------------.
| Viallard Anthony | Syscom Instruments SA | Embedded System |
| +41 024 455 24 82 | Rue de l'industrie 21 | Software Designer |
| ~~~~~~~~~~~~~~~~~ | 1450 Sainte-Croix | ~~~~~~~~~~~~~~~~~ |
'-------------------^-----------------------^-------------------^
|
|
From: Theo <th...@gm...> - 2013-03-06 09:13:25
|
Hi Al,
have you tried the following?
set format y "%.1l*10^{%L}"
Theo.
Am 06.03.2013 03:40, schrieb Al Conle:
> Hi,
> While using gnuplot version 4.6 pl 1 I found that the scale
> annotations
> for a logscale y axis were remaining in fixed decimal format rather
> than
> going to exponential representation. For numbers less than 0.0000001
>
> all the annotations are 0.0000000 . If one plots a linear scale the
> annotations
> are correct.
> The graph with the flaw is attached.
>
> Al
>
>
|
|
From: Al C. <fa...@gm...> - 2013-03-06 02:40:37
|
Hi, While using gnuplot version 4.6 pl 1 I found that the scale annotations for a logscale y axis were remaining in fixed decimal format rather than going to exponential representation. For numbers less than 0.0000001 all the annotations are 0.0000000 . If one plots a linear scale the annotations are correct. The graph with the flaw is attached. Al |
|
From: Craig D. <def...@bo...> - 2013-03-05 04:28:46
|
Thanks! On Mar 4, 2013, at 8:17 PM, sfeam <sf...@us...> wrote: > On Thursday, February 28, 2013 09:59:53 PM Craig DeForest wrote: >> Some 'with' modifiers include implicit dimensions in ASCII mode, others >> don't. >> >> >> >> For example: >> >> plot '-' using 1 with lines >> >> works, while >> >> plot '-' using 1:2 with yerrorbars >> >> does not. > > I've added that combination (implicit x with yerrorbars) for > 4.7 and 4.6.2 > > Ethan > > |
|
From: Casey B. <cas...@gm...> - 2013-03-04 16:14:37
|
Hi, Has anyone here compile gnuplot for iOS? Any advice towards that end would be greatly appreciated. Thanks, Caset -- Casey James Basichis Composer - Adventure Time - Cartoon Network http://www.caseyjamesbasichis.com cas...@gm... 310.387.7540 |
|
From: atoms.h <tho...@gm...> - 2013-03-04 10:44:04
|
Thanks a lot Ethan, that worked beautifully! (As I understand it, the vectors style plots the delta from the previous position of the coordinate. So I had to fill in two lines for both directions of the error bars, but that's no problem at all.) About the pdf terminal: yes, in that example the dl was too small, but that was only where I stopped trying. Previously I made a 2D (using 'plot') plot of one of the panels with the same terminal setup and got actual dashed lines, but when using splot they disappear....that's why I took a detour with the eps enhanced ps terminal and execute !epstopdf at the end of the script. That's how I got the pdf with dashed in the example (same size, same dl settings)... again, thanks a lot! -- View this message in context: http://gnuplot.10905.n7.nabble.com/splot-errorbars-in-fence-plot-tp17125p17143.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Theo <th...@gm...> - 2013-03-03 16:45:37
|
Thanks Ethan, that's it. pngcairo does it as expected! |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-03 16:26:02
|
On Sunday, 03 March 2013, Theo wrote: > Hi all, > > for generating plots I typically use wxt, png (or pdf) terminals. > There are quite some differences between the two outputs in appearance > (certainly for some good reasons which I do not know). There are two png terminals. "set term png" uses the external graphics library gd to draw. This same external library is used to create jpeg or gif output, so the png/jpeg/gif plots created by gnuplot+gd look very much alike. "set term pngcairo" uses the cairo graphics library. The cairo library is also used for wxt and pdf generationg, so plots output by the pngcairo/wxt/pdf terminals are similar. If gnuplot is built without using the gd library then there it provides only the pngcairo terminal, and because there in this case there is no ambiguity this is what you get when you say "set term png". But from your description it seems your copy of gnuplot has both png+gd and png+cairo terminals. > With png I also tried option 'truecolor'. The 'truecolor' option only affects the gd-based png terminal. > Comparing png-Output and wxt-Output side by side I clearly prefer the wxt. > So, what I do is using the 'copy to clipboard' button in the wxt window > menubar, copy it to an image program and save it as a PNG to disk. > > Isn't there a way to directly save the wxt output as png? > Or is there a way to make the png look (exactly) like the wxt? Try 'set term pngcairo' and 'replot'. Ethan |
|
From: babelproofreader <bab...@gm...> - 2013-03-03 15:01:34
|
I have a script file ( part shown below ) which used to work with problem but
is now failing on line 36 with
"all_plots", line 36: invalid expression
if ($5 == 1) plot "<head -$3 $1ind | tail -$2" using 1:253:254:255:256
notitle with candlesticks linecolor rgb "#5C5C5C", \
"<head -$3 $1ind | tail -$2" using 1:101 title 'Sinewave' with
line lw 1 linecolor rgb "#FFFF00", \
"<head -$3 $1ind | tail -$2" using 1:($$102>0.75?$$102:1/0)
title 'Leadsine1' with line lw 1 linecolor rgb "#EE00EE", \
"<head -$3 $1ind | tail -$2" using 1:($$102<-0.75?$$102:1/0) notitle
with line lw 1 linecolor rgb "#EE00EE", \
"<head -$3 $1ind | tail -$2" using 1:($$103>0.75?$$103:1/0)
title 'Leadsine2' with line lw 1 linecolor rgb "#DC143C", \
"<head -$3 $1ind | tail -$2" using 1:($$103<-0.75?$$103:1/0) notitle
with line lw 1 linecolor rgb "#DC143C", \
"<head -$3 $1ind | tail -$2" using 1:104 title 'Sinewave_tp'
with line lw 1 linecolor rgb "#00FFFF", \
"<head -$3 $1ind | tail -$2" using 1:($$105>0.75?$$105:1/0)
title 'Leadsine1_tp' with line lw 1 linecolor rgb "#EE00EE", \
"<head -$3 $1ind | tail -$2" using 1:($$105<-0.75?$$105:1/0) notitle
with line lw 1 linecolor rgb "#EE00EE", \
"<head -$3 $1ind | tail -$2" using 1:($$106>0.75?$$106:1/0)
title 'Leadsine2_tp' with line lw 1 linecolor rgb "#DC143C", \
"<head -$3 $1ind | tail -$2" using 1:($$106<-0.75?$$106:1/0) notitle with
line lw 1 linecolor rgb "#DC143C", \
Zeroline(x) notitle with line lt 0 lw 1 linecolor rgb "#00FFFF"; else
where this last line is line 36. Suspecting that the new block structured
if/else statements might be the cause ( I am now using Gnuplot 4.6.0 on
Linux MInt Debian 64 bit, with Gunplot installed via the package manager ) I
tried using the new curly brackets thus
if ($5 == 1) { plot "<head -$3 $1ind | tail -$2" using 1:253:254:255:256
notitle with candlesticks linecolor rgb "#5C5C5C", \
..........................................
Zeroline(x) notitle with line lt 0 lw 1 linecolor rgb "#00FFFF"; } else {
but I'm still getting the line 36 error message. Any suggestions as to what
I need to change?
--
View this message in context: http://gnuplot.10905.n7.nabble.com/New-if-else-syntax-has-broken-my-scripts-tp17140.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Theo <th...@gm...> - 2013-03-03 08:51:43
|
Hi all, for generating plots I typically use wxt, png (or pdf) terminals. There are quite some differences between the two outputs in appearance (certainly for some good reasons which I do not know). With png I also tried option 'truecolor'. Comparing png-Output and wxt-Output side by side I clearly prefer the wxt. So, what I do is using the 'copy to clipboard' button in the wxt window menubar, copy it to an image program and save it as a PNG to disk. Isn't there a way to directly save the wxt output as png? Or is there a way to make the png look (exactly) like the wxt? Theo. |
|
From: Dr. I. D. J. <die...@t-...> - 2013-03-02 14:10:29
|
Dear listmembers,
in general it is desireable to use a higher value for samples as the default,
I increased to 500 and am quite happy with the result - for "normal" smooth
curves.
However, a problem occurs if one has dashed curves in mind. Is there a way to
plot a function with a specific value for "set samples" for one of several
plots in order to realize a good spacing for the "dots" and / or the "dashes"
whereas the number of samples for smooth curves stay high?
Thank you very much,
take care
Dieter Jurzitza
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|
|
From: Dima K. <gn...@di...> - 2013-03-02 06:46:26
|
sfeam (Ethan Merritt) <eam...@gm...> writes: > On Thursday, 28 February 2013, Craig DeForest wrote: >> Some 'with' modifiers include implicit dimensions in ASCII mode, others don't. >> >> >> >> For example: >> >> plot '-' using 1 with lines This makes sense. 'help lines' says that it understands single-column data. >> plot '-' using 1:2 with yerrorbars >> >> does not. This makes sense too. 'help yerrorbars' doesn't say anything about working with 2-column data. It'd probably be good to add that, but at least it does what it says. >> I think this is a bug, since the equivalent in binary mode: >> >> plot '-' binary array=(5) format="%double%double" using 1:2 with yerrorbars >> >> works fine. That's weird. :) 'help binary format' clearly says that this should make 2 columns available, so I'd expect this to fail same as above. I agree; this sounds like a bug. I'm seeing a different failure, though: my gnuplot segfaults. Craig: can you attach the data file you're using? dima |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-02 03:07:26
|
On Thursday, 28 February 2013, Craig DeForest wrote: > Some 'with' modifiers include implicit dimensions in ASCII mode, others don't. > > > > For example: > > plot '-' using 1 with lines > > works, while > > plot '-' using 1:2 with yerrorbars > > does not. > > > > I think this is a bug, since the equivalent in binary mode: > > plot '-' binary array=(5) format="%double%double" using 1:2 with yerrorbars > > works fine. The "columns" in binary mode are unconnected with any reality that my poor brain can comprehend. I am surprised that the above command produces anything useful. I would have expected it to produce a uniform grid (column 1 = x coord; column 2 = y coord) at z=0. That's what `help binary` describes, anyhow. Ethan |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-02 03:02:29
|
On Thursday, 28 February 2013, atoms.h wrote:
> dear all,
>
> I'm trying to make a type of fence plot, where 2D data is plotted in pseudo
> 3D with a fixed y-value. My problem is I still like to have error bars,
> which as is my understanding are not permitted in splot (something like
> zerrorbars).
> Any chance there is a solution?
Not in a single plot type, but you could split the error bars out
into a second plot element. Assuming a file containing
x y meanz lowz highz
splot 'data' using 1:2:3 with points, \
'' using 1:2:4:(0):(0):($5-$4) with vectors nohead lt -1
> here's a sample:
> <http://gnuplot.10905.n7.nabble.com/file/n17125/drawing-1.png>
Nice plot.
> Another strange issue is the pdf terminal. It seems to not respect the
> linetype in splot mode (the above was done in the PS terminal). I was
> plotting one of the three plots above with the same pdf output and the
> dashed lines became continuous using splot. Changing the dash length didn't
> help
> (set term pdf color enhanced font "default, 4" lw 2 dashed dl 0.1 size
> 8cm,5cm)
"dl 0.1" means "dashes and dash separation are only 1/10 the normal size".
That's probably not what you want.
Ethan
> thanks in advance,
> thomas
>
>
>
> --
> View this message in context: http://gnuplot.10905.n7.nabble.com/splot-errorbars-in-fence-plot-tp17125.html
> Sent from the Gnuplot - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Craig D. <def...@bo...> - 2013-03-01 19:34:14
|
Some 'with' modifiers include implicit dimensions in ASCII mode, others don't. For example: plot '-' using 1 with lines works, while plot '-' using 1:2 with yerrorbars does not. I think this is a bug, since the equivalent in binary mode: plot '-' binary array=(5) format="%double%double" using 1:2 with yerrorbars works fine. |
|
From: atoms.h <tho...@gm...> - 2013-03-01 08:19:53
|
dear all, I'm trying to make a type of fence plot, where 2D data is plotted in pseudo 3D with a fixed y-value. My problem is I still like to have error bars, which as is my understanding are not permitted in splot (something like zerrorbars). Any chance there is a solution? here's a sample: <http://gnuplot.10905.n7.nabble.com/file/n17125/drawing-1.png> Another strange issue is the pdf terminal. It seems to not respect the linetype in splot mode (the above was done in the PS terminal). I was plotting one of the three plots above with the same pdf output and the dashed lines became continuous using splot. Changing the dash length didn't help (set term pdf color enhanced font "default, 4" lw 2 dashed dl 0.1 size 8cm,5cm) thanks in advance, thomas -- View this message in context: http://gnuplot.10905.n7.nabble.com/splot-errorbars-in-fence-plot-tp17125.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: sfeam (E. Merritt) <eam...@gm...> - 2013-03-01 04:51:38
|
On Thursday, 28 February 2013, Andreas wrote:
> Dear all,
>
> I'd like to plot a set of data points as impulses, colored according to the
> value in the 3rd column.
> Here is a short example:
>
> reset
> set xrange [0:5]
> set yrange [0:1]
> plot '-' u 1:2:3 w imp lc var
> 1 1 1 red
> 2 1 2 green
> 3 1 1 red
> 4 1 3 blue
> e
>
> What I get are four lines, two red ones at 1 and 3, a green one at 2 and a blue
> one at 4.
> So far so good.
>
> Now I'd like to get a key that shows each used color,
That part you can do by adding a dummy plot clause that will plot
nothing but will add the line samples and a blank title.
For this part no awk script is necessary.
plot '-' u 1:2:3 w imp lc var notitle, \
for [i=1:4] NaN lc i title " "
> labeled with the corresponding string value in column 4.
There is no way to do that inside gnuplot.
You can take key titles from a columnheader, but not from
within a line of data. It would make no sense, as a plot
can have only one title - not a new title for every line.
How about a parallel file that just contains the text labels
all on one line?
red green blue cyan yellow magenta
There are several ways you could read this into gnuplot
and use the separate column text as plot titles.
Ethan
> So far it shows just a single black line.
>
> I know, I could do something like
>
> plot 'data.file' u 1:($3=1 ? $2 : 1/0) t "red", '' u 1:($3=2 ? $2 : 1/0) t
> "green", '' u 1:($3=2 ? $2 : 1/0) t "blue"
>
> However, the actual data set is very large and generated on the fly using a awk
> script. And there are a total of 12 different instances in column 4. Using a
> solution like the one above would mean to run the awk script 12 times. Beside
> that don't like to compare column 3 to hard coded values (the number of
> instances might change in the future), this is not efficient enough, as the awk
> script takes quite some time to generate the data set.
>
> Any ideas on how to create the key from variable line colors directly?
> Preferably, using a single call to my awk script?
>
> Thank you,
> Andreas
|
|
From: Andreas <cho...@gm...> - 2013-02-28 18:32:21
|
Dear all, I'd like to plot a set of data points as impulses, colored according to the value in the 3rd column. Here is a short example: reset set xrange [0:5] set yrange [0:1] plot '-' u 1:2:3 w imp lc var 1 1 1 red 2 1 2 green 3 1 1 red 4 1 3 blue e What I get are four lines, two red ones at 1 and 3, a green one at 2 and a blue one at 4. So far so good. Now I'd like to get a key that shows each used color, labeled with the corresponding string value in column 4. So far it shows just a single black line. I know, I could do something like plot 'data.file' u 1:($3=1 ? $2 : 1/0) t "red", '' u 1:($3=2 ? $2 : 1/0) t "green", '' u 1:($3=2 ? $2 : 1/0) t "blue" However, the actual data set is very large and generated on the fly using a awk script. And there are a total of 12 different instances in column 4. Using a solution like the one above would mean to run the awk script 12 times. Beside that don't like to compare column 3 to hard coded values (the number of instances might change in the future), this is not efficient enough, as the awk script takes quite some time to generate the data set. Any ideas on how to create the key from variable line colors directly? Preferably, using a single call to my awk script? Thank you, Andreas |
|
From: Craig D. <def...@bo...> - 2013-02-13 23:02:37
|
Hmmm, it seems that the INT signal doesn't make gnuplot do what I want it to do for the pipe case. In particular, if I'm sending binary data over a pipe and issue an INT, it doesn't make gnuplot start accepting new commands over the pipe. As near as I can tell, gnuplot continues to read from the pipe regardless. So INTing seems to work fine over a tty but not over a pipe control link. On Feb 12, 2013, at 3:37 PM, Craig DeForest <def...@bo...> wrote: >> >> I am dubious that you would see slow communications between your perl script and gnuplot just because DISPLAY is remote. The actual x11 rendering is done by a separate process, gnuplot_X11, and no matter how slowly it may be progressing gnuplot itself should be able to accept new input on stdin. > > Sorry if I wasn't clear here -- the communication is still fast of course, but the render can take a long time if X11 communications is slow. Gnuplot doesn't issue any indication of state until the whole process completes. Same goes for wxt, of course. > > >> >> - Slow rendering jobs can be interrupted by the user, and there's no documented way (that I've found) to let gnuplot know to stop what it's doing and give a prompt back. >> >> In "normal" (i.e. interactive) mode you can get a prompt back by hitting ^C >> (INT signal). You should be able to achieve the same by sending INT. I've just tested that this works from the command line using "kill -INT" >> >> That doesn't specifically address your question about binary data being sent on stdin. I'm not certain what state you will be left in if there is a binary read pending when you send an INT signal. >> >> Ethan > > Thanks. Early experiments with "kill -INT" hosed up the pipe, but I'll run another round and see what happens. > > |
|
From: julien.siebert <jul...@gm...> - 2013-02-13 08:10:13
|
Hi Walter, Hi Hans-Bernhard Hans-Bernhard Bröker wrote > That's no error. It's a _warning_. It even says so on the tin. Ok, my mistake, it is a warning :) However with terminal wxt I have no plot at all. I switched to terminal pdf and I got my plot. By the way, walter harms wrote > Hi, Julien, > i also use heatmaps very often (but more 800x500) > i tend to ignore the errors they are most times > caused by a missing value. I did not find any missing value. I have checked my data file, used other data sets with different size of grids and each time it seems that gnuplot is not finding the right K (N is ok). I have no clue how to solve this warning. But now I have my plots :) Regards, Julien -- View this message in context: http://gnuplot.10905.n7.nabble.com/Plotting-heatmap-warning-Number-of-pixels-cannot-be-factored-data-file-seems-correct-I-E-K-N-matrix-tp17108p17112.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Craig D. <def...@bo...> - 2013-02-12 22:37:27
|
> > I am dubious that you would see slow communications between your perl script and gnuplot just because DISPLAY is remote. The actual x11 rendering is done by a separate process, gnuplot_X11, and no matter how slowly it may be progressing gnuplot itself should be able to accept new input on stdin. Sorry if I wasn't clear here -- the communication is still fast of course, but the render can take a long time if X11 communications is slow. Gnuplot doesn't issue any indication of state until the whole process completes. Same goes for wxt, of course. > > - Slow rendering jobs can be interrupted by the user, and there's no documented way (that I've found) to let gnuplot know to stop what it's doing and give a prompt back. > > In "normal" (i.e. interactive) mode you can get a prompt back by hitting ^C > (INT signal). You should be able to achieve the same by sending INT. I've just tested that this works from the command line using "kill -INT" > > That doesn't specifically address your question about binary data being sent on stdin. I'm not certain what state you will be left in if there is a binary read pending when you send an INT signal. > > Ethan Thanks. Early experiments with "kill -INT" hosed up the pipe, but I'll run another round and see what happens. |