You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(83) |
Nov
(57) |
Dec
(111) |
| 2004 |
Jan
(38) |
Feb
(121) |
Mar
(107) |
Apr
(241) |
May
(102) |
Jun
(190) |
Jul
(239) |
Aug
(158) |
Sep
(184) |
Oct
(193) |
Nov
(47) |
Dec
(68) |
| 2005 |
Jan
(190) |
Feb
(105) |
Mar
(99) |
Apr
(65) |
May
(92) |
Jun
(250) |
Jul
(197) |
Aug
(128) |
Sep
(101) |
Oct
(183) |
Nov
(186) |
Dec
(42) |
| 2006 |
Jan
(102) |
Feb
(122) |
Mar
(154) |
Apr
(196) |
May
(181) |
Jun
(281) |
Jul
(310) |
Aug
(198) |
Sep
(145) |
Oct
(188) |
Nov
(134) |
Dec
(90) |
| 2007 |
Jan
(134) |
Feb
(181) |
Mar
(157) |
Apr
(57) |
May
(81) |
Jun
(204) |
Jul
(60) |
Aug
(37) |
Sep
(17) |
Oct
(90) |
Nov
(122) |
Dec
(72) |
| 2008 |
Jan
(130) |
Feb
(108) |
Mar
(160) |
Apr
(38) |
May
(83) |
Jun
(42) |
Jul
(75) |
Aug
(16) |
Sep
(71) |
Oct
(57) |
Nov
(59) |
Dec
(152) |
| 2009 |
Jan
(73) |
Feb
(213) |
Mar
(67) |
Apr
(40) |
May
(46) |
Jun
(82) |
Jul
(73) |
Aug
(57) |
Sep
(108) |
Oct
(36) |
Nov
(153) |
Dec
(77) |
| 2010 |
Jan
(42) |
Feb
(171) |
Mar
(150) |
Apr
(6) |
May
(22) |
Jun
(34) |
Jul
(31) |
Aug
(38) |
Sep
(32) |
Oct
(59) |
Nov
(13) |
Dec
(62) |
| 2011 |
Jan
(114) |
Feb
(139) |
Mar
(126) |
Apr
(51) |
May
(53) |
Jun
(29) |
Jul
(41) |
Aug
(29) |
Sep
(35) |
Oct
(87) |
Nov
(42) |
Dec
(20) |
| 2012 |
Jan
(111) |
Feb
(66) |
Mar
(35) |
Apr
(59) |
May
(71) |
Jun
(32) |
Jul
(11) |
Aug
(48) |
Sep
(60) |
Oct
(87) |
Nov
(16) |
Dec
(38) |
| 2013 |
Jan
(5) |
Feb
(19) |
Mar
(41) |
Apr
(47) |
May
(14) |
Jun
(32) |
Jul
(18) |
Aug
(68) |
Sep
(9) |
Oct
(42) |
Nov
(12) |
Dec
(10) |
| 2014 |
Jan
(14) |
Feb
(139) |
Mar
(137) |
Apr
(66) |
May
(72) |
Jun
(142) |
Jul
(70) |
Aug
(31) |
Sep
(39) |
Oct
(98) |
Nov
(133) |
Dec
(44) |
| 2015 |
Jan
(70) |
Feb
(27) |
Mar
(36) |
Apr
(11) |
May
(15) |
Jun
(70) |
Jul
(30) |
Aug
(63) |
Sep
(18) |
Oct
(15) |
Nov
(42) |
Dec
(29) |
| 2016 |
Jan
(37) |
Feb
(48) |
Mar
(59) |
Apr
(28) |
May
(30) |
Jun
(43) |
Jul
(47) |
Aug
(14) |
Sep
(21) |
Oct
(26) |
Nov
(10) |
Dec
(2) |
| 2017 |
Jan
(26) |
Feb
(27) |
Mar
(44) |
Apr
(11) |
May
(32) |
Jun
(28) |
Jul
(75) |
Aug
(45) |
Sep
(35) |
Oct
(285) |
Nov
(99) |
Dec
(16) |
| 2018 |
Jan
(8) |
Feb
(8) |
Mar
(42) |
Apr
(35) |
May
(23) |
Jun
(12) |
Jul
(16) |
Aug
(11) |
Sep
(8) |
Oct
(16) |
Nov
(5) |
Dec
(8) |
| 2019 |
Jan
(9) |
Feb
(28) |
Mar
(4) |
Apr
(10) |
May
(7) |
Jun
(4) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(23) |
Dec
(3) |
| 2020 |
Jan
(19) |
Feb
(3) |
Mar
(22) |
Apr
(17) |
May
(10) |
Jun
(69) |
Jul
(18) |
Aug
(23) |
Sep
(25) |
Oct
(11) |
Nov
(20) |
Dec
(9) |
| 2021 |
Jan
(1) |
Feb
(7) |
Mar
(9) |
Apr
|
May
(1) |
Jun
(8) |
Jul
(6) |
Aug
(8) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(23) |
| 2022 |
Jan
(23) |
Feb
(9) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(1) |
Jul
(6) |
Aug
(8) |
Sep
(30) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
| 2023 |
Jan
(2) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
(8) |
Jun
(45) |
Jul
(8) |
Aug
|
Sep
(2) |
Oct
(14) |
Nov
(7) |
Dec
(2) |
| 2024 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
(4) |
Dec
(14) |
| 2025 |
Jan
(22) |
Feb
(6) |
Mar
(5) |
Apr
(14) |
May
(6) |
Jun
(11) |
Jul
(19) |
Aug
|
Sep
(17) |
Oct
(1) |
Nov
(2) |
Dec
(18) |
| 2026 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Allin C. <cot...@wf...> - 2020-03-04 15:07:31
|
On Wed, 4 Mar 2020, Manfred Schwarb wrote: > > This may be putting the cart before the horse, but... > > Do you think it would be helpful to teach gnuplot to read shape files? > > I imagine it would be possible to test for the presence of shapelib.so > > and provide a binary input mode: > > > > splot <data> binary filetype=shapelib with polygons > > > > I have never worked with this libary so I don't know if it is organized > > in such a way that this would be possible. > > I do it using the gdal software and some shell magic: > # ogr2ogr -f "GMT" gaga.gmt gaga.shp > # grep -v "^#" gaga.gmt | sed 's/>//' > gaga.txt That's also the approach taken by Bob Mesibov at https://www.datafix.com.au/BASHing/2018-10-31.html I'm hopeful that libshape can do the job without requiring the whole of gdal. Libshape was developed by Frank Warmerdam, the guy who initially developed gdal, and is used by gdal's OGR library. Allin Cottrell |
|
From: Manfred S. <man...@gm...> - 2020-03-04 12:22:44
|
> > This may be putting the cart before the horse, but... > Do you think it would be helpful to teach gnuplot to read shape files? > I imagine it would be possible to test for the presence of shapelib.so > and provide a binary input mode: > > splot <data> binary filetype=shapelib with polygons > > I have never worked with this libary so I don't know if it is organized > in such a way that this would be possible. I do it using the gdal software and some shell magic: # ogr2ogr -f "GMT" gaga.gmt gaga.shp # grep -v "^#" gaga.gmt | sed 's/>//' > gaga.txt HTH, Manfred > > A quick look at the spec for the shapefile format makes it look horrible > (mixed little-ending big-endian in the same file?! variable record types > that are required not to vary?!), but if it is hidden by a usable library .... > > Ethan > > > > > > > > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Allin C. <cot...@wf...> - 2020-03-04 02:21:19
|
On Tue, 3 Mar 2020, Ethan A Merritt wrote: > On Tuesday, 3 March 2020 17:05:40 PST Allin Cottrell wrote: >> On Tue, 3 Mar 2020, Ethan A Merritt wrote: >> >>> On Tuesday, 3 March 2020 14:30:40 PST Allin Cottrell wrote: >>>> This question has been posed before (a few years back) but I'm >>>> hoping someone may be able to point me to the state-of-the-art, >>>> if there is such. >>>> >>>> I'd like to be able to produce via gnuplot a map of (for example) >>>> the USA showing the states colored by median income, or PM2.5 >>>> particulate emissions, or whatever. >>>> >>>> I understand that the starting point would be a suitable US states >>>> shapefile (I know where I can get that), which would have to be >>>> translated to a format (resembling world.dat, I suppose) that can be >>>> understood by gnuplot. I have some notion of how that might be done. >>>> >>>> The next issue would be to get gnuplot to colorize specified areas >>>> of the map according to the values of some additional data. >>>> Unfortunately I have little notion of how to do that. >>> >>> The development version of gnuplot supports >>> >>> splot <data> with polygons >> >> Thanks Ethan, and also Dima in this thread. This sounds promising! >> Right now I'm not sure when I'll find time to pursue this in depth, >> but I'm definitely interested and will push it when I can. >> >> Allin Cottrell > > This may be putting the cart before the horse, but... > Do you think it would be helpful to teach gnuplot to read shape files? I'm sure it would be helpful... > I imagine it would be possible to test for the presence of shapelib.so > and provide a binary input mode: > > splot <data> binary filetype=shapelib with polygons > > I have never worked with this libary so I don't know if it is organized > in such a way that this would be possible. but I'm not yet clear on that point myself. I've taken a quick look at shapelib-1.5.0 (which configures and compiles without fuss on my machine) and seen that it can convert both .shp and .dbf files to what look like comprehensible text formats that "ought to be" usable (shp -> polygons that could go into CSV quite easily, and dbf -> descriptions of the elements of the shp file in their order of appearance). But when I said I "had some notion" of how shapelib could help, that wasn't an understatement! Perhaps better to say I "had an inkling" of how it could help. I aim to follow up, but I'll be offline next week so I won't get back to this till the week after. Allin |
|
From: Ethan A M. <me...@uw...> - 2020-03-04 01:44:18
|
On Tuesday, 3 March 2020 17:05:40 PST Allin Cottrell wrote: > On Tue, 3 Mar 2020, Ethan A Merritt wrote: > > > On Tuesday, 3 March 2020 14:30:40 PST Allin Cottrell wrote: > >> This question has been posed before (a few years back) but I'm > >> hoping someone may be able to point me to the state-of-the-art, > >> if there is such. > >> > >> I'd like to be able to produce via gnuplot a map of (for example) > >> the USA showing the states colored by median income, or PM2.5 > >> particulate emissions, or whatever. > >> > >> I understand that the starting point would be a suitable US states > >> shapefile (I know where I can get that), which would have to be > >> translated to a format (resembling world.dat, I suppose) that can be > >> understood by gnuplot. I have some notion of how that might be done. > >> > >> The next issue would be to get gnuplot to colorize specified areas > >> of the map according to the values of some additional data. > >> Unfortunately I have little notion of how to do that. > > > > The development version of gnuplot supports > > > > splot <data> with polygons > > Thanks Ethan, and also Dima in this thread. This sounds promising! > Right now I'm not sure when I'll find time to pursue this in depth, > but I'm definitely interested and will push it when I can. > > Allin Cottrell This may be putting the cart before the horse, but... Do you think it would be helpful to teach gnuplot to read shape files? I imagine it would be possible to test for the presence of shapelib.so and provide a binary input mode: splot <data> binary filetype=shapelib with polygons I have never worked with this libary so I don't know if it is organized in such a way that this would be possible. A quick look at the spec for the shapefile format makes it look horrible (mixed little-ending big-endian in the same file?! variable record types that are required not to vary?!), but if it is hidden by a usable library .... Ethan |
|
From: Allin C. <cot...@wf...> - 2020-03-04 01:05:53
|
On Tue, 3 Mar 2020, Ethan A Merritt wrote: > On Tuesday, 3 March 2020 14:30:40 PST Allin Cottrell wrote: >> This question has been posed before (a few years back) but I'm >> hoping someone may be able to point me to the state-of-the-art, >> if there is such. >> >> I'd like to be able to produce via gnuplot a map of (for example) >> the USA showing the states colored by median income, or PM2.5 >> particulate emissions, or whatever. >> >> I understand that the starting point would be a suitable US states >> shapefile (I know where I can get that), which would have to be >> translated to a format (resembling world.dat, I suppose) that can be >> understood by gnuplot. I have some notion of how that might be done. >> >> The next issue would be to get gnuplot to colorize specified areas >> of the map according to the values of some additional data. >> Unfortunately I have little notion of how to do that. > > The development version of gnuplot supports > > splot <data> with polygons Thanks Ethan, and also Dima in this thread. This sounds promising! Right now I'm not sure when I'll find time to pursue this in depth, but I'm definitely interested and will push it when I can. Allin Cottrell |
|
From: Ethan A M. <me...@uw...> - 2020-03-03 23:56:27
|
On Tuesday, 3 March 2020 15:47:32 PST Dima Kogan wrote: > Ethan: do you have any data and sample scripts that plot real-world > geographic polygons? If it's now a pain, I'd like to try it out. I wish I did, for demo purposes if nothing else. My time is spent in the atomic coordinate space of molecular modeling, not the latitude/longitude space of earthly geography. If Allin puts together a space-description file I'd be happy to work up some demo scripts that use it. Ethan |
|
From: Dima K. <gn...@di...> - 2020-03-03 23:47:23
|
Ethan: do you have any data and sample scripts that plot real-world geographic polygons? If it's now a pain, I'd like to try it out. |
|
From: Ethan A M. <me...@uw...> - 2020-03-03 23:40:16
|
On Tuesday, 3 March 2020 14:30:40 PST Allin Cottrell wrote:
> This question has been posed before (a few years back) but I'm
> hoping someone may be able to point me to the state-of-the-art,
> if there is such.
>
> I'd like to be able to produce via gnuplot a map of (for example)
> the USA showing the states colored by median income, or PM2.5
> particulate emissions, or whatever.
>
> I understand that the starting point would be a suitable US states
> shapefile (I know where I can get that), which would have to be
> translated to a format (resembling world.dat, I suppose) that can be
> understood by gnuplot. I have some notion of how that might be done.
>
> The next issue would be to get gnuplot to colorize specified areas
> of the map according to the values of some additional data.
> Unfortunately I have little notion of how to do that.
The development version of gnuplot supports
splot <data> with polygons
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
gnuplot> help polygons
splot DATA {using x:y:z} with polygons
{fillstyle <fillstyle spec>}
{fillcolor <colorspec>}
`splot with polygons` uses pm3d to render individual triangles, quadrangles,
and larger polygons in 3D. These may be facets of a 3D surface or isolated
shapes. The code assumes that the vertices lie in a plane.
Vertices defining individual polygons are read from successive records of the
input file. A blank line separates one polygon from the next.
The fill style and color may be specified in the splot command, otherwise the
global fillstyle from `set style fill` is used. Due to limitations in the
pm3d code, a single border line style from `set pm3d border` is applied to all
polygons. This restriction may be removed in a later gnuplot version.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This plot mode will be in version 5.4 (release candidate coming soonish).
Meanwhile you can build from the source for either branch:
master
branch-5-4-stable
I realize you don't need 3D, but plotting in projection is easy, and you even
have the option to map it onto a globe :-)
I am uncertain whether there is adequate flexibility to use the 3rd coordinate
as a color flag. If there isn't, there probably should be so let me know and
I'll work on it.
Ethan
|
|
From: Dima K. <gn...@di...> - 2020-03-03 23:31:42
|
This MAY answer your question. I've done this sort of visualization before by grabbing raster map images from any tile server (openstreetmap for instance), and plotting data on top of the image. Script to - download the tiles you want - stitch them together into one image you will be overlaying - generate a template gnuplot script to plot this image is available here: https://github.com/dkogan/osmgnuplot The script plots lat/lon on one set of axes, and image pixel coords on the other set. The mapping isn't linear, and the generated script handles this. So you can plot your overlay with latlon coords. Works great. Some (very simple) results in these blog posts: http://notes.secretsauce.net/notes/2017/09/25_pole-of-road-inaccessibility-of-the-contiguous-us.html http://notes.secretsauce.net/notes/2015/08/16_least-convenient-location-in-los-angeles-from-koreatown.html |
|
From: Allin C. <cot...@wf...> - 2020-03-03 23:00:39
|
This question has been posed before (a few years back) but I'm hoping someone may be able to point me to the state-of-the-art, if there is such. I'd like to be able to produce via gnuplot a map of (for example) the USA showing the states colored by median income, or PM2.5 particulate emissions, or whatever. I understand that the starting point would be a suitable US states shapefile (I know where I can get that), which would have to be translated to a format (resembling world.dat, I suppose) that can be understood by gnuplot. I have some notion of how that might be done. The next issue would be to get gnuplot to colorize specified areas of the map according to the values of some additional data. Unfortunately I have little notion of how to do that. Please don't point me to R. I know this sort of thing can be done via R packages -- with the help of hundreds of megabytes of additional GIS software! But it seems to me it should be doable much more simply, perhaps using the shapelib library (a few hundred Kbytes in size), if I could just figure out how to do a heatmap-type thing but filling irregular polygons rather than just rectangles. -- Allin Cottrell Department of Economics Wake Forest University |
|
From: Ethan A M. <me...@uw...> - 2020-02-25 19:04:13
|
In response to a gnuplot feature request, I added a wrapper in gnuplot to find the width of the Voight profile by calling libcerf function voigt_hwhm(). However on further evaluation this has turned out to be problematic. The current libcerf source for this function deals badly with out-of-range input. It prints to stderr (problematic by itself) and then either - returns an incorrect value - calls exit(-1) A call to exit() from a library routine is almost never a good thing to do, since it prevents error-handling and possible recovery by the calling program. Limiting error reporting to a message on stderr also prevents detection and recovery by the calling program. I suggest that it would be preferable to return NaN whenever the input is out of range or the function does not converge. Alternatively libcerf could provide an error-check routine or status variable, but then you would run into issues of thread-safety and so on. I am hoping that the libcerf function can be improved in a subsequent version, but for now I will consider implementing equivalent code directly in gnuplot. Ethan |
|
From: Ethan A M. <me...@uw...> - 2020-02-06 07:19:49
|
On Wednesday, 5 February 2020 19:49:06 PST Dima Kogan wrote:
> Ethan A Merritt <me...@uw...> writes:
> > On Thursday, 30 January 2020 21:32:02 PST Dima Kogan wrote:
> >> Hi. I just stumbled upon another bug-looking behavior.
> >>
> >> The different point types aren't the same across terminals. There's no
> >> specific reason for that, right?
> >
> > gnuplot> help pointttype
> >
> > [...]
> >
> > The first 8 point types are shared by all terminals. Individual terminals
> > may provide a much larger number of distinct point types. Use the `test`
> > command to show what is provided by the current terminal settings.
>
> Aha. Thanks for the note. I'd like to normalize this at least somewhat.
> The usual workflow for me (and probably for others) is:
>
> 1. Do work, mess around with the data, look at it with an interactive
> terminal (x11 in my case) as I go. Make plots lots of times
>
> 2. Eventually I'm happy with what I have, I make a PDF and send it out
> in an email
>
> The expectation is that the PDF is the same thing I was seeing on the
> screen, and the inconsistent point types break that. I want to say that
> of the common terminals I looked at, the x11 terminal is the odd one
> out. If that's the case, any objections if I patch that?
It is not correct that the x11 terminal is the odd one out.
There is a lot of variation. For example the postscript terminal
supports about 70 point types, which so far as I know are inherited
by other terminals that depend on it like epslatex.
The fig terminal supports about 60.
The png terminal (and jpeg/gif/sixel) are limited to 13, like x11.
The tikz terminal, which would be another way to generate pdf output,
supports 15 but they are not the same ones as qt/wxt.
Some of the older terminals were even more limited, which was why
we only promised 8 distinct types, but those may be obsolete.
Furthermore the reason that x11 currently doesn't support
pentagon shapes to match qt and wxt pointtype 14/15
is that they come out indistinguisable from ugly circles
so they are not very useful.
Possible approaches that might help your use case:
1)
We could revisit an old idea that was discussed years ago but never
fully worked out. There could be a command
set pointtype cycle N
that replaces any arbitrary pt M with pt (1 + M%N).
This command would work similarly to the current command
set linetype cycle N
I.e. it forces a cycle of N point types even if the current terminal
can support more than N types.
Unfortunately the patches that circulated at that time don't work any more
because version 5 changed the way linetypes and associated properties are
handled. It's not clear to me exactly how best to adapt them to version 5.
2)
You could approximate this idea by explicitly assigning point types
for as many linetypes as you are likely to use:
max_pt = 8
set for [i=1:100] linetype i pointtype (1 + (i-1) % max_pt)
3)
Use character point types instead of the default geometric shapes.
So long as you choose characters that are common to the fonts used
for the terminals you are switching between, this should make the
default sequence irrelevant.
Ethan
|
|
From: Dima K. <gn...@di...> - 2020-02-06 03:49:21
|
Ethan A Merritt <me...@uw...> writes: > On Thursday, 30 January 2020 21:32:02 PST Dima Kogan wrote: >> Hi. I just stumbled upon another bug-looking behavior. >> >> The different point types aren't the same across terminals. There's no >> specific reason for that, right? > > gnuplot> help pointttype > > [...] > The first 8 point types are shared by all terminals. Individual terminals may > provide a much larger number of distinct point types. Use the `test` command > to show what is provided by the current terminal settings. Aha. Thanks for the note. I'd like to normalize this at least somewhat. The usual workflow for me (and probably for others) is: 1. Do work, mess around with the data, look at it with an interactive terminal (x11 in my case) as I go. Make plots lots of times 2. Eventually I'm happy with what I have, I make a PDF and send it out in an email The expectation is that the PDF is the same thing I was seeing on the screen, and the inconsistent point types break that. I want to say that of the common terminals I looked at, the x11 terminal is the odd one out. If that's the case, any objections if I patch that? |
|
From: Ethan A M. <me...@uw...> - 2020-01-31 19:12:18
|
On Thursday, 30 January 2020 21:32:02 PST Dima Kogan wrote: > Hi. I just stumbled upon another bug-looking behavior. > > The different point types aren't the same across terminals. There's no > specific reason for that, right? gnuplot> help pointttype [...] The first 8 point types are shared by all terminals. Individual terminals may provide a much larger number of distinct point types. Use the `test` command to show what is provided by the current terminal settings. Ethan > > I do this: > > set terminal x11 > test > > Note that point type 18 is a solid square > > Then I do this: > > set terminal qt > test > > A solid square is now type 20. pdf works like qt, it looks like; I > haven't tested any others. I have no cycles to fix it right now, but can > put it on my list. > > dima |
|
From: Henri M. <hen...@gm...> - 2020-01-31 06:08:55
|
On 1/31/20 9:49 AM, Henri Menke wrote: > On 1/31/20 8:46 AM, Ethan A Merritt wrote: >> On Wednesday, 29 January 2020 20:23:28 PST Henri Menke wrote: >>> Dear list, >>> >>> In merge request #12 I propose the addition of the XDG base directory >>> specification for configuration file paths. >>> >>> https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/12/ >>> >>> There is already some discussion on the ticket. It seems that the >>> overall opinion is in favor of this addition. Is this correct? If that >>> is the case, could you please review the code? After that I will write >>> some words in the docs and we should be good to go. >> >> I notice that the filename is generated by a call to wordexp(). >> This is in POSIX-2001 but is not in the c99 standard, right? >> The gnu docs say >> "This function is missing on some platforms: Mac OS X 10.3, OpenBSD 3.8, >> Minix 3.1.8, IRIX 5.3, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, >> Android 9.0." >> >> We have just barely got the gnuplot code base up to c99, so anything >> beyond that should be protected by a feature test. Is there an >> autoconf macro for this? >> >> If the purpose is just to handle tilde expansion, can this dependence >> be removed by replacing it with a call to gp_expand_tilde()? > > You're right, wordexp is a POSIX function. I will revise the code to > use gp_expand_tilde instead. I've updated the merge request and wrote some docs. > Cheers, Henri > >> Ethan >> >> >> >> |
|
From: Dima K. <gn...@di...> - 2020-01-31 05:51:47
|
Hi. I just stumbled upon another bug-looking behavior. The different point types aren't the same across terminals. There's no specific reason for that, right? I do this: set terminal x11 test Note that point type 18 is a solid square Then I do this: set terminal qt test A solid square is now type 20. pdf works like qt, it looks like; I haven't tested any others. I have no cycles to fix it right now, but can put it on my list. dima |
|
From: Henri M. <hen...@gm...> - 2020-01-30 20:50:03
|
On 1/31/20 8:46 AM, Ethan A Merritt wrote: > On Wednesday, 29 January 2020 20:23:28 PST Henri Menke wrote: >> Dear list, >> >> In merge request #12 I propose the addition of the XDG base directory >> specification for configuration file paths. >> >> https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/12/ >> >> There is already some discussion on the ticket. It seems that the >> overall opinion is in favor of this addition. Is this correct? If that >> is the case, could you please review the code? After that I will write >> some words in the docs and we should be good to go. > > I notice that the filename is generated by a call to wordexp(). > This is in POSIX-2001 but is not in the c99 standard, right? > The gnu docs say > "This function is missing on some platforms: Mac OS X 10.3, OpenBSD 3.8, > Minix 3.1.8, IRIX 5.3, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, > Android 9.0." > > We have just barely got the gnuplot code base up to c99, so anything > beyond that should be protected by a feature test. Is there an > autoconf macro for this? > > If the purpose is just to handle tilde expansion, can this dependence > be removed by replacing it with a call to gp_expand_tilde()? You're right, wordexp is a POSIX function. I will revise the code to use gp_expand_tilde instead. Cheers, Henri > Ethan > > > > |
|
From: Ethan A M. <me...@uw...> - 2020-01-30 19:48:11
|
On Wednesday, 29 January 2020 20:23:28 PST Henri Menke wrote: > Dear list, > > In merge request #12 I propose the addition of the XDG base directory > specification for configuration file paths. > > https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/12/ > > There is already some discussion on the ticket. It seems that the > overall opinion is in favor of this addition. Is this correct? If that > is the case, could you please review the code? After that I will write > some words in the docs and we should be good to go. I notice that the filename is generated by a call to wordexp(). This is in POSIX-2001 but is not in the c99 standard, right? The gnu docs say "This function is missing on some platforms: Mac OS X 10.3, OpenBSD 3.8, Minix 3.1.8, IRIX 5.3, Cygwin 1.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0." We have just barely got the gnuplot code base up to c99, so anything beyond that should be protected by a feature test. Is there an autoconf macro for this? If the purpose is just to handle tilde expansion, can this dependence be removed by replacing it with a call to gp_expand_tilde()? Ethan |
|
From: Henri M. <hen...@gm...> - 2020-01-30 04:23:41
|
Dear list,
In merge request #12 I propose the addition of the XDG base directory
specification for configuration file paths.
https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/12/
There is already some discussion on the ticket. It seems that the
overall opinion is in favor of this addition. Is this correct? If that
is the case, could you please review the code? After that I will write
some words in the docs and we should be good to go.
Cheers, Henri
|
|
From: Dima K. <gn...@di...> - 2020-01-29 17:02:40
|
Ethan A Merritt <me...@uw...> writes: > You are right. The test for the cornerpoles flag was made a little too > early. Fixed now. Works now. Thanks! |
|
From: Ethan A M. <me...@uw...> - 2020-01-27 18:08:54
|
On Sunday, 26 January 2020 22:11:46 PST Dima Kogan wrote: > Thanks for working on this. The basic on/off appears to work. However, > if I > > set border 31 > unset cornerpoles > splot x > > I'd expect the left vertical axis to still be rendered, but it isn't. I > can take a look, but it'll take me a few days to get to this. You are right. The test for the cornerpoles flag was made a little too early. Fixed now. Ethan |
|
From: Dima K. <gn...@di...> - 2020-01-27 06:12:00
|
Ethan Merritt <eam...@gm...> writes:
> OK. I have added
> {un}set cornerpoles
>
> It controls an on/off TBOOLEAN that is tested in exactly one place,
> just before these vertical lines are drawn in draw_3d_graphbox.
Thanks for working on this. The basic on/off appears to work. However,
if I
set border 31
unset cornerpoles
splot x
I'd expect the left vertical axis to still be rendered, but it isn't. I
can take a look, but it'll take me a few days to get to this.
Thanks!
|
|
From: Ethan M. <eam...@gm...> - 2020-01-27 04:39:14
|
On Saturday, 25 January 2020 12:54:50 PST Dima Kogan wrote:
> Hans-Bernhard Bröker <HBB...@t-...> writes:
> >> On the other hand, looking up the bits one by one is inconvenient.
> >> It might be more user-friendly to add a keyword
> >>
> >> set border <bitmask> {{no} somethingdescriptive}
> >
> > I would tend to call them 'corner poles', as they're meant to appear be
> > holding up the otherwise free-floating plotted surface at the corners, a
> > bit like the tent poles.
>
> Yeah, I like that name; was thinking something along the same lines,
> actually.
That's better then anything I came up with.
OK. I have added
{un}set cornerpoles
It controls an on/off TBOOLEAN that is tested in exactly one place,
just before these vertical lines are drawn in draw_3d_graphbox.
Ethan
>
> > The syntax could be extended by a keyworded optional argument
> >
> > set border
> > ...
> > {{cornerpoles | cp} {default | <corners>}}
> >
> > where the 'default' restores the current default: all four corner poles
> > are drawn, if applicable. The corresponding bit mask value <corners>
> > would be 240, from 128+64+32+16. I.e. for clarity it would use the same
> > bit positions as in the existing <integer> parameter for the full
> >
> > Or 'cornerpoles' could become a new 'set' command of its own, or an
> > optional argument to 'set surface', given as it only applies if 'set
> > surface' is on.
>
> I think it would be nice to manage two separate bit masks that use the
> same bit meanings:
>
> - the current "border" bitmask
> - a new "cornerpoles" bitmask
>
> I think this is what you're suggesting. If the "cornerpoles" bitmask
> isn't managed with a new "set cornerpoles", but uses an extension to
> "set border", what syntax are you proposing? How would you set a
> "border" mask A and a "cornerpoles" mask B? Like this?
>
> set border A cp B
>
> Or with two separate calls?
>
> set border A
> set border cp B
>
> Not sure if one of these is what you had in mind. I think a separate
> "set" would be clearer:
>
> set border A
> set cornerpoles B
>
>
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|
|
From: Dima K. <gn...@di...> - 2020-01-25 21:11:03
|
Hans-Bernhard Bröker <HBB...@t-...> writes:
>> On the other hand, looking up the bits one by one is inconvenient.
>> It might be more user-friendly to add a keyword
>> set border <bitmask> {{no} somethingdescriptive}
>
> I would tend to call them 'corner poles', as they're meant to appear be
> holding up the otherwise free-floating plotted surface at the corners, a
> bit like the tent poles.
Yeah, I like that name; was thinking something along the same lines,
actually.
> The syntax could be extended by a keyworded optional argument
>
> set border
> ...
> {{cornerpoles | cp} {default | <corners>}}
>
> where the 'default' restores the current default: all four corner poles
> are drawn, if applicable. The corresponding bit mask value <corners>
> would be 240, from 128+64+32+16. I.e. for clarity it would use the same
> bit positions as in the existing <integer> parameter for the full
>
> Or 'cornerpoles' could become a new 'set' command of its own, or an
> optional argument to 'set surface', given as it only applies if 'set
> surface' is on.
I think it would be nice to manage two separate bit masks that use the
same bit meanings:
- the current "border" bitmask
- a new "cornerpoles" bitmask
I think this is what you're suggesting. If the "cornerpoles" bitmask
isn't managed with a new "set cornerpoles", but uses an extension to
"set border", what syntax are you proposing? How would you set a
"border" mask A and a "cornerpoles" mask B? Like this?
set border A cp B
Or with two separate calls?
set border A
set border cp B
Not sure if one of these is what you had in mind. I think a separate
"set" would be clearer:
set border A
set cornerpoles B
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2020-01-21 20:41:36
|
Am 21.01.2020 um 05:43 schrieb Ethan A Merritt:
> I have no objection to adding a corresonding flag bit (for all of them) in the
> "set border" command or even four flag bits (matching the four vertical edges
> of the full graph box).
> But the flag bit[s] would have to default to "on" for backwards compatibility.
That, I'm afraid, largely precludes the addition of control bits into
the exisiting bit mask --- the default of that, 31, is guaranteed to be
assumed by tons of existing scripts out there. So unless the
to-be-added bits had inverse meaning, they can't be in that mask.
> On the other hand, looking up the bits one by one is inconvenient.
> It might be more user-friendly to add a keyword
> set border <bitmask> {{no} somethingdescriptive}
I would tend to call them 'corner poles', as they're meant to appear be
holding up the otherwise free-floating plotted surface at the corners, a
bit like the tent poles.
The syntax could be extended by a keyworded optional argument
set border
...
{{cornerpoles | cp} {default | <corners>}}
where the 'default' restores the current default: all four corner poles
are drawn, if applicable. The corresponding bit mask value <corners>
would be 240, from 128+64+32+16. I.e. for clarity it would use the same
bit positions as in the existing <integer> parameter for the full
Or 'cornerpoles' could become a new 'set' command of its own, or an
optional argument to 'set surface', given as it only applies if 'set
surface' is on.
|