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: Mahmood N <nt_...@ya...> - 2014-07-16 09:14:05
|
Hello, Using X11 terminal, I have magnified the plot by drawing a rectangle (using mouse) and now I want to redirect the current view to a ps file. How that is possible? Regards, Mahmood |
|
From: Tait <gnu...@t4...> - 2014-07-05 03:46:49
|
Take a look at "help set table" > I have used gnuplot to generate pm3d colour maps of my 3D data, but I need to find a way to plot the values of this map along a line. Is there a way to define a line, by start and end coordinates, and then to read the pm3d map data at each x,y coordinate along this line and then plot this. This would essentially be a line-out mechanism found in other plotting software. > > If anyone knows a method to do this, or can point me to good online resources, I would really appreciate it. |
|
From: Tait <gnu...@t4...> - 2014-07-05 03:41:29
|
> ... the data file contains 16k lines with one column and it looks like > > 2032099 > 1688270 > 139926 > 96404 > 113337 > 1307914 > ... > ... > > So I want to "set logscale x 2" but the default behavior doesn't show 2032099 But in your example, these are your y-values, not your x-values, so a logscale on x would seem to be putting the wrong scaling on both axes. |
|
From: Karlton S. <kar...@ge...> - 2014-07-04 23:35:09
|
Dear All, I have used gnuplot to generate pm3d colour maps of my 3D data, but I need to find a way to plot the values of this map along a line. Is there a way to define a line, by start and end coordinates, and then to read the pm3d map data at each x,y coordinate along this line and then plot this. This would essentially be a line-out mechanism found in other plotting software. If anyone knows a method to do this, or can point me to good online resources, I would really appreciate it. Karl Scheu |
|
From: Mahmood N. <nt_...@ya...> - 2014-07-04 17:59:48
|
>Why on earth would you want to do that? The count of data points is >self-evidently as linear a scale as there can be. You would need a >really good reason to log-scale that, and I'd rather like to know what >that might be. Well that was an example to show the problem. In fact, the data file contains 16k lines with one column and it looks like 2032099 1688270 139926 96404 113337 1307914 ... ... So I want to "set logscale x 2" but the default behavior doesn't show 2032099 > plot "data" using ($0+1):1 Yes that fixes the problem. Regards, Mahmood On Friday, July 4, 2014 10:06 PM, Hans-Bernhard Bröker <HBB...@t-...> wrote: On 04.07.2014 18:00, Mahmood Naderan wrote: > Hello, > Gnuplot assigns an index of 0 to the first line of the data points. By default. But you don't have to leave it at that. See "help using" on what this does: plot "data" using ($0+1):1 > Problem is that when I run "set logscale x 2", Why on earth would you want to do that? The count of data points is self-evidently as linear a scale as there can be. You would need a really good reason to log-scale that, and I'd rather like to know what that might be. it automatically discard the first line, 1000, so it plots > > (2^0,2000) (2^1,3000) > > How can I tell Gnuplot to "plot x=0 as normal and set logscale x 2 for x>=1" You can't, and I'm reasonably sure you don't really want to, either. For starters, where do you think "x = 0 as normal" would be, on a log-scaled x axis? The same place as "2^0", leaving you with two points at the same x position? Hardly. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2014-07-04 17:37:02
|
On 04.07.2014 18:00, Mahmood Naderan wrote: > Hello, > Gnuplot assigns an index of 0 to the first line of the data points. By default. But you don't have to leave it at that. See "help using" on what this does: plot "data" using ($0+1):1 > Problem is that when I run "set logscale x 2", Why on earth would you want to do that? The count of data points is self-evidently as linear a scale as there can be. You would need a really good reason to log-scale that, and I'd rather like to know what that might be. it automatically discard the first line, 1000, so it plots > > (2^0,2000) (2^1,3000) > > How can I tell Gnuplot to "plot x=0 as normal and set logscale x 2 for x>=1" You can't, and I'm reasonably sure you don't really want to, either. For starters, where do you think "x = 0 as normal" would be, on a log-scaled x axis? The same place as "2^0", leaving you with two points at the same x position? Hardly. |
|
From: Mahmood N. <nt_...@ya...> - 2014-07-04 16:00:57
|
Hello, Gnuplot assigns an index of 0 to the first line of the data points. For example, these data points 1000 2000 3000 are interpreted as (0,1000) (1,2000) (2,3000). Problem is that when I run "set logscale x 2", it automatically discard the first line, 1000, so it plots (2^0,2000) (2^1,3000) How can I tell Gnuplot to "plot x=0 as normal and set logscale x 2 for x>=1" ? Regards, Mahmood |
|
From: Theo <th...@gm...> - 2014-07-03 19:38:24
|
You may want to repeat the for loop for the 1:3 plots.
Something like this:
plot for [i=1:10] sprintf("File_%d",i) u 1:2 w l title sprintf("File_%d,
Col2",i) , for [i=1:10] sprintf("File_%d",i) u 1:3 w l title
sprintf("File_%d, Col3",i)
The title is just to make clear what you have plotted.
Maybe there are other ways to do it.
But is it what you were looking for?
|
|
From: <kul...@gm...> - 2014-07-03 08:38:02
|
Hi,
Using Gnuplot 4.6 I'm trying to plot multiple data from multiple files
on one graph. Lets say in each file I have 3 columns and I want to plot
2 and 3 against 1 (x axis), to compare each column (2:1 and 3:1) between
files . I'm using 'plot for' construction:
plot for [i=1:10] sprintf("file_%d", i) u 1:2 w lines u 1:3 w lines
The problem is that the graph shows column 2 and 3 values just for the
first file being processed, for the others only last column is
presented. Is there a way I would be able to present all columns for all
files?
best regards.
Michal
|
|
From: agrawalh <hrs...@gm...> - 2014-06-25 16:34:06
|
I have a data in a text file in which each column is a separate dimension. I want to plot this 4d data using the 4th column as color. I am attaching a sample image of what my graph would be looking. Please help me through the gnuplot script for it. <http://gnuplot.10905.n7.nabble.com/file/n18622/h0Zwy.png> -- View this message in context: http://gnuplot.10905.n7.nabble.com/Plot-4D-data-with-color-as-4th-dimension-tp18622.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hamed A. <s.h...@ya...> - 2014-06-22 18:22:22
|
I have a data file produced by the C programming language as: x .1 .3 .4 .56 .1 .2 .1 .3 .76 .3 .4 .2 .2 .43 .6 .7 .4 .3 .67 in which the first row (.1 .3 .4 .56) corresponds to the values of x-axis, first column is related to the y-axis (.1 .3 .5) and other values correspond to the z-axis for each x and y values. For example, the .76 is the weight of point (.56 , .1). I want to plot this 2D matrix file as a 2d picture. I tried this command plot "file" matrix using 1:2:3 every :::1::1 w image and plotted it. My problem is that Gnuplot use row and column numbers for x- and y-axis values not values on first row and column. When i use command plot "file" binary matrix w image gives the error "Read grid of zero width". Any help will be highly appreciated. Hamed Ahmadi |
|
From: Peter C. <pe...@ho...> - 2014-06-16 15:08:57
|
I am attempting to plot a simple heatmap on a png. The data will
consist of:
lat,lon,value - where value is a measurement taken at a particular
lat/lon
lat,lon,0 - where lat,lon represent the boundary of the area, and
0 is a hard coded value to print a specific color
I have tried
plot 'boundary.csv' with lines
plot 'boundary.csv' using 1:2 with lines
plot 'boundary.csv' matrix using 1:2:3 with points
splot 'boundary.csv' matrix with image
I can seem to draw a simple geographic boundary :(
Here is the boundary dataset:
-118.4416963421,34.2684862765,-80
-118.5296361373,34.0505446952,-80
-118.3178973599,33.966252909,-80
-118.1589688575,34.1702770376,-80
-118.4416963421,34.2684862765,-80
|
|
From: Leo B. <l_b...@us...> - 2014-06-13 00:50:26
|
You can find gnuplot by find command $ sudo find / -name "gnuplot" (For the search from root (/), sudo is required for Ubuntu ) No, you should not need to use `sudo find'. $ which gnuplot /usr/bin/gnuplot Try $ man which Leo |
|
From: Ethan M. <eam...@gm...> - 2014-06-12 23:35:55
|
Wouldn't it be easier to install the linux version of ISIS? http://isis.astrogeology.usgs.gov/documents/InstallGuide/ On Thu, Jun 12, 2014 at 4:28 PM, tmacchant <tma...@ya...> wrote: > >No its the Linux version of Gnuplot installed! > Sorry I have misled. > > You can find gnuplot by find command > > $ sudo find / -name "gnuplot" > > (For the search from root (/), sudo is required for Ubuntu ) > > The issue whether a windows application can connect to a linux application > or not is a problem of the wine. The topic is not the scope on the gnuplot > list but that for the wine, I think. > > However, if you will need to use gnuplot.exe for windows, the below will be > helpful. > > http://gnuplot.10905.n7.nabble.com/gnuplot-exe-in-wine-td13162.html > > > > > -- > View this message in context: > http://gnuplot.10905.n7.nabble.com/Path-for-Gnuplot-in-Windows-app-installed-via-Wine-tp18504p18507.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: tmacchant <tma...@ya...> - 2014-06-12 23:28:29
|
>No its the Linux version of Gnuplot installed! Sorry I have misled. You can find gnuplot by find command $ sudo find / -name "gnuplot" (For the search from root (/), sudo is required for Ubuntu ) The issue whether a windows application can connect to a linux application or not is a problem of the wine. The topic is not the scope on the gnuplot list but that for the wine, I think. However, if you will need to use gnuplot.exe for windows, the below will be helpful. http://gnuplot.10905.n7.nabble.com/gnuplot-exe-in-wine-td13162.html -- View this message in context: http://gnuplot.10905.n7.nabble.com/Path-for-Gnuplot-in-Windows-app-installed-via-Wine-tp18504p18507.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: tmacchant <tma...@ya...> - 2014-06-12 01:14:17
|
> Is there a sort of Gnuplot.exe installed somewhere in the Linux directories? If windows version of gnuplot is installed by installer, this is the general question to the wine where the executable is installed by installer working on windows. Therefore you should ask this issue at the wine forum but not here. Tatsuro -- View this message in context: http://gnuplot.10905.n7.nabble.com/Path-for-Gnuplot-in-Windows-app-installed-via-Wine-tp18504p18505.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Bo J. <li...@f7...> - 2014-06-10 07:14:48
|
Thanks for the input.
I guess no optimal solution exists, it is hard to ensure the "reader" of
the
graph knows what the minor ticks means unless the "normal" 8 minor
ticks is used.
I will try to figure out if any convention exists in the mathematical
literature, and
return if I find any.
Best
Bo
On 2014-06-07 00:13, BBands wrote:
> In coding our own stock-market analysis graphics program we stumbled
> across this mine field. We chose to give the user three options: log
> tics, linear tics and decades. 'Log tics' produces equidistnat tics on
> the chosen axis, 'linear grid' produces tics every n points apart and
> 'decades' is the gnuplot and perhaps conventional default. Explaining
> this to users is hell. We just say, "Try all three and use the one you
> like best."
>
> Thinking about this makes my head hurt,
>
> John
>
>
> On Fri, Jun 6, 2014 at 2:37 PM, Ethan Merritt <eam...@gm...> wrote:
>> The issue of minor tics on a log scale axis has been problematic since the
>> origin of gnuplot, lost in the dim mists of time. The oldest bug in the
>> tracker complains about this. But over the last 10 years I have never seen
>> a coherent proposal about how the program could better handle a "set mxtics"
>> command in log-scale mode, let alone a patch that would implement it.
>>
>> IMHO the best thing is to treat "set/unset mxtics" in log scale mode as an
>> on/off operation only. "on" means you get autogenerated minor tics, "off"
>> means you don't get any.
>>
>> As John points out, you can generally set mxtics to 10. That fixes some odd
>> corner cases when the total range on x is less than one decade, but can
>> introduce strangeness in other corner cases.
|
|
From: BBands <bb...@gm...> - 2014-06-06 22:13:14
|
In coding our own stock-market analysis graphics program we stumbled
across this mine field. We chose to give the user three options: log
tics, linear tics and decades. 'Log tics' produces equidistnat tics on
the chosen axis, 'linear grid' produces tics every n points apart and
'decades' is the gnuplot and perhaps conventional default. Explaining
this to users is hell. We just say, "Try all three and use the one you
like best."
Thinking about this makes my head hurt,
John
On Fri, Jun 6, 2014 at 2:37 PM, Ethan Merritt <eam...@gm...> wrote:
> The issue of minor tics on a log scale axis has been problematic since the
> origin of gnuplot, lost in the dim mists of time. The oldest bug in the
> tracker complains about this. But over the last 10 years I have never seen
> a coherent proposal about how the program could better handle a "set mxtics"
> command in log-scale mode, let alone a patch that would implement it.
>
> IMHO the best thing is to treat "set/unset mxtics" in log scale mode as an
> on/off operation only. "on" means you get autogenerated minor tics, "off"
> means you don't get any.
>
> As John points out, you can generally set mxtics to 10. That fixes some odd
> corner cases when the total range on x is less than one decade, but can
> introduce strangeness in other corner cases.
|
|
From: Ethan M. <eam...@gm...> - 2014-06-06 21:38:06
|
The issue of minor tics on a log scale axis has been problematic since the origin of gnuplot, lost in the dim mists of time. The oldest bug in the tracker complains about this. But over the last 10 years I have never seen a coherent proposal about how the program could better handle a "set mxtics" command in log-scale mode, let alone a patch that would implement it. IMHO the best thing is to treat "set/unset mxtics" in log scale mode as an on/off operation only. "on" means you get autogenerated minor tics, "off" means you don't get any. As John points out, you can generally set mxtics to 10. That fixes some odd corner cases when the total range on x is less than one decade, but can introduce strangeness in other corner cases. On Fri, Jun 6, 2014 at 2:19 PM, BBands <bb...@gm...> wrote: > This seems correct to me. > > set logscale x > set logscale y > set xrang [1:100] > set yrang [1:100] > set mxtics 10 > set mytics 10 > set grid mxtics mytics > plot "<echo '50 50'" > > John > > On Fri, Jun 6, 2014 at 7:57 AM, Bo Jakobsen <li...@f7...> wrote: > > Dear all > > > > I am trying to understand how gnuplot sets minor tics on a logaritmic > > scale and if that is "correct" > > > > running the following minimal example: > > > > set logscale x > > set xrang [10:100] > > set yrang [1:10] > > set mxtics 4 > > plot "<echo '50 1'" > > > > shows that minor tics are sat at 25,50, and 75 > > > > The first interval represents a smaller linear range (10-25) whereas the > > later 3 represents a range of 25. > > It that what is expected for minor tics on a log scale. > > > > setting mxtics to 8 is even worse I now gets minor tics at: 12.5, 50, > > 37.5 ... > > in which the first interval only represents 2.5 on a linear scale, and > > the minor tics seems totally out of place > > > > Does any one here know what is the correct way to put minor tics? > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: BBands <bb...@gm...> - 2014-06-06 21:19:34
|
This seems correct to me.
set logscale x
set logscale y
set xrang [1:100]
set yrang [1:100]
set mxtics 10
set mytics 10
set grid mxtics mytics
plot "<echo '50 50'"
John
On Fri, Jun 6, 2014 at 7:57 AM, Bo Jakobsen <li...@f7...> wrote:
> Dear all
>
> I am trying to understand how gnuplot sets minor tics on a logaritmic
> scale and if that is "correct"
>
> running the following minimal example:
>
> set logscale x
> set xrang [10:100]
> set yrang [1:10]
> set mxtics 4
> plot "<echo '50 1'"
>
> shows that minor tics are sat at 25,50, and 75
>
> The first interval represents a smaller linear range (10-25) whereas the
> later 3 represents a range of 25.
> It that what is expected for minor tics on a log scale.
>
> setting mxtics to 8 is even worse I now gets minor tics at: 12.5, 50,
> 37.5 ...
> in which the first interval only represents 2.5 on a linear scale, and
> the minor tics seems totally out of place
>
> Does any one here know what is the correct way to put minor tics?
|
|
From: BBands <bb...@gm...> - 2014-06-06 21:11:07
|
Does 'set mxtics 10' seem correct to you?
John
On Fri, Jun 6, 2014 at 7:57 AM, Bo Jakobsen <li...@f7...> wrote:
> Dear all
>
> I am trying to understand how gnuplot sets minor tics on a logaritmic
> scale and if that is "correct"
>
> running the following minimal example:
>
> set logscale x
> set xrang [10:100]
> set yrang [1:10]
> set mxtics 4
> plot "<echo '50 1'"
>
> shows that minor tics are sat at 25,50, and 75
>
> The first interval represents a smaller linear range (10-25) whereas the
> later 3 represents a range of 25.
> It that what is expected for minor tics on a log scale.
>
> setting mxtics to 8 is even worse I now gets minor tics at: 12.5, 50,
> 37.5 ...
> in which the first interval only represents 2.5 on a linear scale, and
> the minor tics seems totally out of place
>
> Does any one here know what is the correct way to put minor tics?
|
|
From: Bo J. <li...@f7...> - 2014-06-06 14:58:00
|
Dear all I am trying to understand how gnuplot sets minor tics on a logaritmic scale and if that is "correct" running the following minimal example: set logscale x set xrang [10:100] set yrang [1:10] set mxtics 4 plot "<echo '50 1'" shows that minor tics are sat at 25,50, and 75 The first interval represents a smaller linear range (10-25) whereas the later 3 represents a range of 25. It that what is expected for minor tics on a log scale. setting mxtics to 8 is even worse I now gets minor tics at: 12.5, 50, 37.5 ... in which the first interval only represents 2.5 on a linear scale, and the minor tics seems totally out of place Does any one here know what is the correct way to put minor tics? Best Bo |
|
From: Peter C. <pe...@ho...> - 2014-06-04 01:42:29
|
I am using the following snippit to plot a png file that is dynamically sized: > set terminal unknown > sedcmd="<(sed -n '1p;" .rowstart. "," .rowend. "p' " .filename. ".csv)" > plot sedcmd nonuniform matrix using 2:1:3 notitle with image > xspan = GPVAL_DATA_X_MAX - GPVAL_DATA_X_MIN > yspan = GPVAL_DATA_Y_MAX - GPVAL_DATA_Y_MIN > set terminal png size (rowend-rowstart),yspan > sedcmd="<(sed -n '1p;" .rowstart. "," .rowend. "p' " .filename. ".csv)" > plot sedcmd nonuniform matrix using 2:1:3 notitle with image However how can I add into the width the anticipated left / right margins, the labels and the legend? I need the actual plot part to be pixel perfect, otherwise some of our vertical line markers which are a single point wide are lost during interpolation. Peter |
|
From: Bo J. <li...@f7...> - 2014-06-02 10:08:08
|
Dear all
I am using the cairolatex to produce figure for inclusion in latex.
However, I would very much like to have both an eps and an pdf file
generated from gnuplot
(like what is possible in xfig) for use with both latex and pdflatex.
The concrete problem is that I have figures with transparency, and if I
convert the final pdf file (after pdflatex processing) to an eps file
using pdftops
the fonts are ruined (this only happens for figures with transparency).
I need both the pdf and eps version so that is ignoring.
Having gnuplot making both file format would provide the needed
flexibility.
Best
Bo
|
|
From: sfeam <sf...@us...> - 2014-05-21 14:56:45
|
On Wednesday, 21 May 2014 12:11:29 AM atoms.h wrote:
> Thanks Ethan for your quick reply!
>
> One problem is that I have to use the macro for
> $ `echo $(awk '/Total/ {print $4}' @file)`
> otherwise i cannot pass the variable to bash.
Break it down into steps:
awkcommand = "awk '/Total/ {print $4}' ".file
system( "echo $(" . awkcommand . ")" )
or something like that.
> What also doesn't work (and I have no idea as to why that is) is to do
> $ `echo $(awk '/Total/ {print $4}' @item(i))`
It seems you misunderstand what a macro is in gnuplot.
It is not some kind of function that is executed in-line.
Gnuplot macros do not take parameters.
They are basically a text-substitution mechanism that operates
before the command is executed. Think of it as running a
search-and-replace operation in a text editor before
feeding the result to gnuplot. The editor has no idea about
gnuplot syntax like do loops or if statements - it applies
the search-and-replace everywhere.
> Then I get error because of the brackets....
>
> Secondly, I realize that this probably wasn't the best example for what I
> actually want to do.
> Because 'total' gets overwritten for every file. My real goal would be
> something like
> $ total(i) = sprintf("%d",`echo $(awk '/Total/ {print $4}' @file)`)
> So store the values in a fake-array....
Sorry, gnuplot doesn't have arrays.
But it does have functions, so if your total() function can be
evaluated at the time it is used then your command above might
be close to working.
Ethan
|