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
|
Oct
|
Nov
|
Dec
|
|
From: sabretoothedhamster <nab...@ne...> - 2012-11-15 13:35:52
|
Hello gnuplot gurus!
Help me please with unexpected gnuplot (4.6/win32) behavior.
I do have the data file which looks like this:
...
21:20:58.784;538633;752;543;520;541;1;70;543;521;541
21:20:58.799;538734;755;543;521;541;1;70;543;520;541
21:20:58.831;538835;754;542;520;541;1;70;543;520;541
....
And I have got two issues while trying to plot it.
1st. If I plot with the following script:
=============================================
reset
set datafile separator ';'
set title "Test"
set terminal windows size 1680,1050
set y2tics border
set yrange[440:640]
set y2range[-150:150]
set xtics border rotate by 90 autofreq offset 0,-2
plot "data.csv" \
every::1::25000 using ($0):4 title "V" with lines, \
"" u ($0):6 t "Vzero" w l, \
"" u ($0):9 t "Vmean" w l, \
"" u ($0):10 t "TurnA" w l, \
"" u ($0):5 t "BumpA" w l, \
"" u ($0):7 axes x1y2 t "dV" w l
=============================================
everything looks fine. Gnuplot puts line numbers as xticlabels with proper
interval (about 5000 with "autofreq" or any particular number given instead
of autofreq).
But if I try to show the time values (from the first column, by "using
($0):4:xticlabels(1)") instead of line numbers then gnuplot goes mad. It
prints time (and draws gridline) for every single line of data no matter if
I use 'autofreq' or specify precise step value.
How can I force gnuplot to thin textual labels out?
2nd. The minor one. Having the script from the first issue I have got
xticlabels (numbers) too close to the axis line. Bit if I try to put them
away by changing "offset 0,-2" to e.g. "offset 0,-3" xticlabels completely
disappear. I suppose they are not shown because their starting point appears
out of some bounding box, but I can not figure out which one and how to
extend it (preferably automatically, depending on the length of xticlabels).
Thanks you in advance!
--
View this message in context: http://old.nabble.com/how-to-thin-out-textual-xticlabels--tp34683698p34683698.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: Shigeharu T. <sh...@ie...> - 2012-11-08 08:06:13
|
shige 11/07 2012 ---------------- I introduce a translation tool of gnuplot table data to a sound file, "tbl2wav", which is modified version of tbl2snd included in yomi (my Japanese speech tool). This requires libsndfile (http://www.mega-nerd.com/libsndfile/). http://takeno.iee.niit.ac.jp/~shige/unix/gnuplot/data/tbl2wav.c (C source file) Ex. gnuplot> set table "test1.tbl" gnuplot> plot sin(x), cos(x) gnuplot> unset table % tbl2wav test1.tbl test1.wav Currently, this supports only 2D table data. +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@ie... TEL(&FAX): +81-257-22-8161 +========================================================+ |
|
From: Robert S. <rob...@ru...> - 2012-11-03 18:18:23
|
Hi all, I'm plotting data from binary files, to be more precise one file contains 250k one-byte values measured with a sampling oscilloscope. Now gnuplot generates coordinates and labels the axes accordingly - x axis by number of data point (I get ticks at 50k, 100k, ..., 250k) and y axis according to the min/max value (I get ticks from -150 to +150). Is there any way to relabel the x axis in a custom way? For example, let's say that the x axis should display time values from 0 up to 250ns. Can I do this? Kind regards, Robert |
|
From: Aaron R. <aar...@gm...> - 2012-11-01 08:04:24
|
This works for the most part: plot DATAFILE using 4:1:5:(0):3:ytic(2) with vectors notitle nohead lc palette but still wondering if there is a why to the the whole line style and not just the color (so I could change widths or ps based on data) Thanks. On Thu, Nov 1, 2012 at 1:34 AM, Aaron Rich <aar...@gm...> wrote: > Hello, > > I'm wondering if there is a way to set the line style based on a value > from the plotted data? I'm trying to have all of my data in a single file > and just iterate over it. I want to use a column value to indicate what > color the line should be draw (may have same type of data from multiple > sources- color is used to indicate type. I haven't been able to get > anything to work yet. > > Sample data: > #yindex data_label type_indicator start length > 0 LABEL1 1 20 10 > 0 LABEL1 1 60 20 > > > 1 LABEL2 2 10 90 > > > 2 LABEL3 1 100 50 > > gnuplot file: > set style line 1 lt rgb 'black' lw 10 > set style line 2 lt rgb "cyan" lw 10 > > > I want to have something like this: > > plot DATAFILE using 4:1:5:(0):ytic(2) with vectors notitle nohead ls ($3) > > instead of: > plot DATAFILE using 4:1:5:(0):ytic(2) index 0 with vectors notitle nohead > ls 1, \ > DATAFILE using 4:1:5:(0):ytic(2) index 1 with vectors notitle nohead > ls 2, \ > DATAFILE using 4:1:5:(0):ytic(2) index 2 with vectors notitle nohead > ls 1, \ > ... > index n > > > > Thanks for any suggestions. > > -Aaron > |
|
From: Aaron R. <aar...@gm...> - 2012-11-01 07:34:54
|
Hello,
I'm wondering if there is a way to set the line style based on a value from
the plotted data? I'm trying to have all of my data in a single file and
just iterate over it. I want to use a column value to indicate what color
the line should be draw (may have same type of data from multiple sources-
color is used to indicate type. I haven't been able to get anything to work
yet.
Sample data:
#yindex data_label type_indicator start length
0 LABEL1 1 20 10
0 LABEL1 1 60 20
1 LABEL2 2 10 90
2 LABEL3 1 100 50
gnuplot file:
set style line 1 lt rgb 'black' lw 10
set style line 2 lt rgb "cyan" lw 10
I want to have something like this:
plot DATAFILE using 4:1:5:(0):ytic(2) with vectors notitle nohead ls ($3)
instead of:
plot DATAFILE using 4:1:5:(0):ytic(2) index 0 with vectors notitle nohead
ls 1, \
DATAFILE using 4:1:5:(0):ytic(2) index 1 with vectors notitle nohead
ls 2, \
DATAFILE using 4:1:5:(0):ytic(2) index 2 with vectors notitle nohead
ls 1, \
...
index n
Thanks for any suggestions.
-Aaron
|
|
From: BBands <bb...@gm...> - 2012-10-29 14:37:41
|
'help set format' will get you going with the label control you want. Some extra clues here: http://gnuplot.sourceforge.net/docs_4.2/node184.html<http://gnuplot.sourceforge.net/docs_4.2/node185.html> http://gnuplot.sourceforge.net/docs_4.2/node185.html set format x "%d-%b-%Y" 'help set xrange' will show you how to 'revert' the axes. set yrange[10:-10] Enjoy, John On Mon, Oct 29, 2012 at 2:42 AM, porton <po...@na...> wrote: > > I need natural numbers (without fractional numbers) on y-axis and discrete > dates (without hours and minutes) at x-axis. How? > > I also need to revert Y axis to show greater values below smaller. How? > |
|
From: porton <po...@na...> - 2012-10-29 09:42:33
|
I need natural numbers (without fractional numbers) on y-axis and discrete dates (without hours and minutes) at x-axis. How? I also need to revert Y axis to show greater values below smaller. How? -- View this message in context: http://old.nabble.com/How-to-change-the-tics--tp34614320p34614320.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Aaron R. <aar...@gm...> - 2012-10-25 03:35:12
|
Hello all,
I'm new to gnuplot and am hoping to get some advice on how to
accomplish the goal I'm trying to get to and/or improvements to what I
have so far.
I'm trying to make a chart that shows windows of a given time duration
and specific events, that occurred at a given time. The events are
grouped by type and source. The specific example is trying to show
which sensors in my house (motion, temperature, lights) are triggered
over a given time. I'd like to be able to show a window that indicates
the time a room is occupied and then samples from temperature in that
room. There may be multiple windows for the same run that I want to
have on the same line.
So far, here is what I have:
reset
#use for saving image
#set terminal png
#set output 'plot.png'
set title "Test plot"
#data file with measurements
DATAFILE='testdata'
#clean up the borders
set border 1
set xtics nomirror
set ytics nomirror
#unset ytics
#create map to have all the events of a given type have same style
stylemap(string) = (string eq 'TEMPMEASUREMENT' ? 1: \
string eq 'MOTION' ? 2 : \
1/0)
#map of each potential source of an event
sourcemap(index) = ( index == 1 ? 'ROOM1_TEMPSENSOR' : \
index == 2 ? 'ROOM1_MOTIONSENSOR' : \
index == 3 ? 'ROOM2' : \
1/0)
#test room occupied window data
ENTERTIME=0
EXITTIME=100
ENTERTIME_1=120
EXITTIME_1=150
#window
#TODO: yticlabel
#TODO: dynamic creation from datafile
set object 1 rect from ENTERTIME,0 to EXITTIME,0.1 fc rgb 'black'
set object 2 rect from ENTERTIME_1,0 to EXITTIME_1,0.1 fc rgb 'black'
set xrange[ENTERTIME-10:EXITTIME+10]
#TODO: set max to total index used
set yrange[-1:10]
set autoscale ymax
#add some style
set style line stylemap('TEMPMEASUREMENT') lt rgb "green" lw 3 pt 50
set style line stylemap('MOTION') lt rgb "blue" lw 3 pt 6 ps 2
#plot data.
plot DATAFILE using 3:1:ytic(sourcemap($1)) index 0 with points
notitle ls stylemap('TEMPMEASUREMENT'), \
DATAFILE using 3:1:ytic(sourcemap($1)) index 1 with points
notitle ls stylemap('MOTION'), \
DATAFILE using 3:1:ytic(sourcemap($1)) index 2 with points
notitle ls stylemap('TEMPMEASUREMENT')
###data file sample
#WHO WHAT WHEN
1 TEMPMEASUREMENT 10 1
1 TEMPMEASUREMENT 20 1
1 TEMPMEASUREMENT 30 1
1 TEMPMEASUREMENT 40 1
1 TEMPMEASUREMENT 50 1
2 MOTION 15
2 MOTION 25
2 MOTION 35
2 MOTION 45
2 MOTION 55
3 TEMPMEASUREMENT 13
3 TEMPMEASUREMENT 23
3 TEMPMEASUREMENT 33
3 TEMPMEASUREMENT 43
3 TEMPMEASUREMENT 53
3 TEMPMEASUREMENT 63
The questions I have:
1) Is there a better way to do the time windows other then using
objects? I really want to have all the data in data file. Is there a
way to have the object pull the enter/exit time from the data file? I
want to also add a label at the the ylabel for the windows. A yticmark
if you will. How can I add one that isn't tied to a data point (more
reason to want to pull windows from datafile. Just have some that y=0
that is labeled ROOM_OCCUPIED: __________ ________
_____ _____ ___________
2) From what I have read online, I can't use a string for the y value.
That is why I have the mapping functions to take the index (column
one) and translate it to the name for the ytic. Is there a way to do
this will out the map?
3) I want to get the "magic text" out of the plot call? I have tried
everything but I can't seem to find a way to pass the string from the
datafile into the stylemap call. I have tried
stylemap($2),stylemap(stringcolumn(2)), and a few others. All fail.
I know I can probably just take the strings out of the datafile and
then just have two maps: source_index->source_name and
style_index->name (for key). But I wanted to ask if there might be an
easily or other way to do this. I'd love to not have those maps
(source map mainly since I want it to be dynamic from datafile/ styles
will not change that much) and be able to have all the strings in the
datafile itself. That will let the data files be more human readable
and have all the information to allow for a generic gnuplot script to
generate ( use iterator to through all the datafiles instead of
indexes within a single file).
Any suggestions or comments would be great. I'm sure I have done
things wrong/overly complex since I'm still new to gnuplot. Any coarse
corrections would be great before I get in too much of a rabbit hole.
Thanks.
|
|
From: Adrian H. <Hi...@ma...> - 2012-10-22 08:24:16
|
Hi. Thanks for the advice. Does the "every" command work when you have two line beaks between data sets? I can't seem to get it to work. Regarding the legal disclaimer. I have no control over it I am afraid. Thanks Adrian -----Original Message----- From: Tait [mailto:gnu...@t4...] Sent: 20 October 2012 05:13 To: gnu...@li... Cc: Adrian Hill Subject: Re: [Gnuplot-info] stacked line plots > Hi > > I am trying to plot stacked 2-d files which vary in a 3rd dimension. i.e. I have multiple xy files. Something like the following link. > > http://www.mathworks.com/matlabcentral/fx_files/24368/4/style1.jpg > > Plotting a colour map works fine (once I get all the files into one file) with splot, but whenever I use splot with lines, it joins up along the y axis too. > > My script is: > ... > Can anyone suggest a good way to plot stacked plots, not joining up on the y axis? This basically comes down to inserting additional line breaks in your data file. It's explained in more detail in "help data" but the extra line break creates a discontinuity. To get a plot like the one above, you will group all the points with the same y-coordinate together and insert an extra line break between each group of shared-y-coordinate points. There are some demos that are somewhat related: http://gnuplot.sourceforge.net/demo_4.6/surface1.html http://gnuplot-tricks.blogspot.com/2010/07/fence-plots-with-some-liner.html > If the reader of this email is not the intended recipient(s), ... How shall I know whether I am the "intended recipient(s)"? These sorts of disclaimers are irritating, unenforceable, and probably harmful to any possible legal action based on the affected email (because, among other reasons, it's almost certainly not consistently or universally enforced). There used to be an excellent website explaining how/why in detail, but I can't find it anymore. This message has been scanned for viruses by MailControl - www.mailcontrol.com Click https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam If the reader of this email is not the intended recipient(s), please be advised that any dissemination, distribution or copying of this information is strictly prohibited. Johnson Matthey PLC has its main place of business at 5th Floor, 25 Farringdon Street, London (020 7269 8400). Johnson Matthey Public Limited Company Registered Office: 5th Floor, 25 Farringdon Street, London EC4A 4AB Registered in England No 33774 Whilst Johnson Matthey aims to keep its network free from viruses you should note that we are unable to scan certain emails, particularly if any part is encrypted or password-protected, and accordingly you are strongly advised to check this email and any attachments for viruses. The company shall NOT ACCEPT any liability with regard to computer viruses transferred by way of email. Please note that your communication may be monitored in accordance with Johnson Matthey internal policy documentation. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-10-20 16:46:42
|
On 20.10.2012 18:19, Jon wrote: > Here is the syntax for the key with my gnuplot, I don't see opaque option > there. Is it because my version number is not high enough? Yes. > My gnuplot version is Version 4.4 patchlevel 3 Current is 4.6 pl 1 |
|
From: Jon <dev...@gm...> - 2012-10-20 16:19:48
|
On Sat, Oct 20, 2012 at 5:06 AM, Hans-Bernhard Bröker <HBB...@t-...
> wrote:
> On 20.10.2012 06:04, Jon wrote:
>
> I am trying to achieve the effect putting the key on some white background
>> although there is originally some plots there. How can I possibly do that?
>>
>
> See "help set key" and find what the "opaque" option is for.
>
>
Here is the syntax for the key with my gnuplot, I don't see opaque option
there. Is it because my version number is not high enough? My gnuplot
version is Version 4.4 patchlevel 3
Syntax:
set key {on|off} {default}
{{inside | outside} | {lmargin | rmargin | tmargin | bmargin}
| {at <position>}}
{left | right | center} {top | bottom | center}
{vertical | horizontal} {Left | Right}
{{no}reverse} {{no}invert}
{samplen <sample_length>} {spacing <vertical_spacing>}
{width <width_increment>}
{height <height_increment>}
{{no}autotitle {columnheader}}
{title "<text>"} {{no}enhanced}
{font "<face>,<size>"} {textcolor <colorspec>}
{{no}box { {linestyle | ls <line_style>}
| {linetype | lt <line_type>}
{linewidth | lw <line_width>}}}
{maxcols {<max no. of columns> | auto}}
{maxrows {<max no. of rows> | auto}}
unset key
show key
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-10-20 10:06:23
|
On 20.10.2012 06:04, Jon wrote: > I am trying to achieve the effect putting the key on some white background > although there is originally some plots there. How can I possibly do that? See "help set key" and find what the "opaque" option is for. |
|
From: Jon <dev...@gm...> - 2012-10-20 05:18:23
|
Thanks Trait, It really does not automatically white out its background. I checked the gnuplot help, but it does not have the option of opaque, and the default does not white out the background. I tried set object rectangle from 0.5,-0.0175 to 1,0.1 fillcolor rgbcolor "white" but it does not even white out anything. Actually, I cannot understand the logic. As far as I understand gnuplot, it saves effects in the ordering when they appear and then gnuplot plots according to this effects. I can set something, they will not appear until I issue plot command. That means plot command is always latest to any effects defined before, thus nothing can cover it unless specifically defined in the manual, say, set object rectangle specifically says it will remove any lines etc (no matter where the command is issue) but leaves labels intact. Thanks for further help, Sincerely, Jon On Sat, Oct 20, 2012 at 12:24 AM, Tait <gnu...@t4...> wrote: > > I am trying to achieve the effect putting the key on some white > background > > although there is originally some plots there. How can I possibly do > that? > > I tried to define a region and then clear it within mutliplot, but that > > area is always overwritten by the following plots, and thus cannot be > > whiten out. > > This should happen automatically already? > > I'd first pursue why it's not working as-is, but an alternative > approach is to define an opaque, filled rectangle and place it behind > the key. See "help set object". > > |
|
From: Tait <gnu...@t4...> - 2012-10-20 04:24:12
|
> I am trying to achieve the effect putting the key on some white background > although there is originally some plots there. How can I possibly do that? > I tried to define a region and then clear it within mutliplot, but that > area is always overwritten by the following plots, and thus cannot be > whiten out. This should happen automatically already? I'd first pursue why it's not working as-is, but an alternative approach is to define an opaque, filled rectangle and place it behind the key. See "help set object". |
|
From: Tait <gnu...@t4...> - 2012-10-20 04:13:17
|
> Hi > > I am trying to plot stacked 2-d files which vary in a 3rd dimension. i.e. I have multiple xy files. Something like the following link. > > http://www.mathworks.com/matlabcentral/fx_files/24368/4/style1.jpg > > Plotting a colour map works fine (once I get all the files into one file) with splot, but whenever I use splot with lines, it joins up along the y axis too. > > My script is: > ... > Can anyone suggest a good way to plot stacked plots, not joining up on the y axis? This basically comes down to inserting additional line breaks in your data file. It's explained in more detail in "help data" but the extra line break creates a discontinuity. To get a plot like the one above, you will group all the points with the same y-coordinate together and insert an extra line break between each group of shared-y-coordinate points. There are some demos that are somewhat related: http://gnuplot.sourceforge.net/demo_4.6/surface1.html http://gnuplot-tricks.blogspot.com/2010/07/fence-plots-with-some-liner.html > If the reader of this email is not the intended recipient(s), ... How shall I know whether I am the "intended recipient(s)"? These sorts of disclaimers are irritating, unenforceable, and probably harmful to any possible legal action based on the affected email (because, among other reasons, it's almost certainly not consistently or universally enforced). There used to be an excellent website explaining how/why in detail, but I can't find it anymore. |
|
From: Jon <dev...@gm...> - 2012-10-20 04:04:55
|
Dear All, I am trying to achieve the effect putting the key on some white background although there is originally some plots there. How can I possibly do that? I tried to define a region and then clear it within mutliplot, but that area is always overwritten by the following plots, and thus cannot be whiten out. Thanks, Sincerely, Jon |
|
From: Adrian H. <Hi...@ma...> - 2012-10-19 11:46:05
|
Hi I am trying to plot stacked 2-d files which vary in a 3rd dimension. i.e. I have multiple xy files. Something like the following link. http://www.mathworks.com/matlabcentral/fx_files/24368/4/style1.jpg Plotting a colour map works fine (once I get all the files into one file) with splot, but whenever I use splot with lines, it joins up along the y axis too. My script is: reset set termoption dash set term postscript color enhanced eps "Helvetica" 16 set output "stack_01.eps" set size 1,1 set border 4095 front linetype -1 linewidth 1.000 unset key unset contour set xlabel "2{/Symbol-Oblique q} / {/Symbol \260}" set ylabel "Scan number" set ytics mirror set zlabel "Relative intensity / s^{-1}" rotate by 90 set xrange [ * : 70 ] set yrange [ 1 : 95] set zrange [ * : *] set view 60,15 splot "combined.txt" using 2:1:($3/925.1) every :8::1::95 with lines #splot "combined.txt" using 2:1:($3/925.1) every :8::1::95 with points Can anyone suggest a good way to plot stacked plots, not joining up on the y axis? If the reader of this email is not the intended recipient(s), please be advised that any dissemination, distribution or copying of this information is strictly prohibited. Johnson Matthey PLC has its main place of business at 5th Floor, 25 Farringdon Street, London (020 7269 8400). Johnson Matthey Public Limited Company Registered Office: 5th Floor, 25 Farringdon Street, London EC4A 4AB Registered in England No 33774 Whilst Johnson Matthey aims to keep its network free from viruses you should note that we are unable to scan certain emails, particularly if any part is encrypted or password-protected, and accordingly you are strongly advised to check this email and any attachments for viruses. The company shall NOT ACCEPT any liability with regard to computer viruses transferred by way of email. Please note that your communication may be monitored in accordance with Johnson Matthey internal policy documentation. |
|
From: wjahn <w.j...@gm...> - 2012-10-17 21:26:37
|
I am running a bash script that produces a series of plots using gnuplot.
Next to each plot I want to write some information about the plot (average
etc), and I achieve this using labels. I have the following settings (among
others):
<code>
#!/bin/bash
for some input in {blah };do
gnuplot << EOF
set term pngcairo size 800,600
set output '$input.png'
set size 0.8,1
set label 1 at graph 1.2, graph 0.2
set label 1 "Average $average"
...
set more labels
...
splot .....
EOF
done
</code>
This works fine most of the times, but randomly in some plots the labels are
mispositioned (examples attached - first one is ok, second one is
misplaced). Any idea why this might happen? And better yet, how to fix it?
Thanks!!
http://old.nabble.com/file/p34568733/DF_01_basecase_East_1.png
http://old.nabble.com/file/p34568733/DF_05_twolouvers_East_3.png
--
View this message in context: http://old.nabble.com/automated-label-positioning-tp34568733p34568733.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: BBands <bb...@gm...> - 2012-10-16 21:48:08
|
I downloaded the sources here: http://sourceforge.net/projects/gnuplot/files/gnuplot/4.6.0/ Unpacked them and then did the standard ./configure --prefix=/usr/local make sudo make install sequence. After getting a few of the dependencies I wanted installed, it went perfectly. John On Sun, Oct 14, 2012 at 4:06 PM, P. A. Grubel <pag...@tu...> wrote: > I'm not sure how to update to version 4.6 I'm using Ubuntu 12.04 64 bit |
|
From: walter h. <wh...@bf...> - 2012-10-15 07:27:47
|
Download gnuplot and follow the instructions http://www.gnuplot.info/download.html see readme inside the tarball re, wh Am 15.10.2012 01:06, schrieb P. A. Grubel: > I'm not sure how to update to version 4.6 I'm using Ubuntu 12.04 64 bit > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: P. A. G. <pag...@tu...> - 2012-10-14 23:19:59
|
I'm not sure how to update to version 4.6 I'm using Ubuntu 12.04 64 bit |
|
From: Martin I. de O. <mar...@gm...> - 2012-10-11 16:30:28
|
Hello, I am trying to plot two graphs on the same plot. The first is a simple x-y points plot: plot myfile u 1:2 The second is a contour plot at level 0, which I can plot with the following commands: set contour unset surface set map view set cntrparam levels discrete 0 splot a*y**3 + b(x)*y**2 + c(x)*y + d(x) b(x), c(x) and d(x) are known polynomial functions on x. Both use the same xrange and yrange. How can I plot them both in the same graph? Thank you, Martin |
|
From: jmseibt <Joa...@ch...> - 2012-10-09 16:31:01
|
Hello, Maybe someone can help me with the following issue: I'm trying to plot a complex quantity z which depends on two variables x and y in form of a pm3d-plot, where the phase phi(z) of the complex values is aimed to be encoded a color from the hue-scale, while the amplitude A(z) of the complex values determines the intensity of that color. The data are read from a file with specification of x y phi(z) A(z) in each column, where x changes slow and y changes fast. The most obvious solution (at least from my point of view) to choose the option u 1:2:3:4 in combination with "splot" after definition of the color scheme via set palette model HSV functions gray,1,1 did not yield the desired result. Then just the phase is plotted regardless of the amplitude. If you have an idea how to proceed, please let me know. Best regards, Joachim -- View this message in context: http://old.nabble.com/pm3d-plot-with-HSV-color-space-tp34533376p34533376.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2012-10-08 18:53:34
|
On 08.10.2012 12:49, Clement Law wrote: > splot fx(u,v),fy(u,v),fz(v),\ > gx(u,v),gy(u,v),gz(v),\ > hx(u,v),hy(u,v),hz(v) > Is there any way of independently changing the ranges of the dummy > variables for each sphere? Well, there's no particular reason you have to use 'u' and 'v' as-is. You can re-define your functions fx(u,v), or you can call them with arguments other than plain 'u' and 'v': set urange[0:1] set vrange[0:1] splot fx(0.2*u+1,v), fy(0.2*u+1,v), fz(v) etc. |
|
From: gnuplotUser <oth...@ao...> - 2012-10-08 15:01:05
|
setting linetype works! Thanks! -- View this message in context: http://old.nabble.com/Can-I-add-color-to-lines-while-using-fig-terminal--tp34523653p34527965.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |