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: Daniel J S. <dan...@ie...> - 2007-03-10 00:52:41
|
Allin Cottrell wrote:
> On Fri, 9 Mar 2007, Daniel J Sebald wrote:
>
>> Allin Cottrell wrote:
>>
>>>
>>> (2) After applying Daniel's patch and recompiling, my "set term
>>> png" echoed to gnuplot produced a failure (as before), but in
>>> addition
>>>
>>> echo "show version long" | gnuplot
>>>
>>> now produced the same X11 failure!
>>
>>
>> Strange. What is the strace this time?
>
>
> I didn't check that; I can, if it's of interest. But here's one more
> piece of information. I now suspect that this may be a bug in
> gnome-terminal. I was running the test in gnome-terminal and it
> occurred to me to try doing the same thing in an xterm: lo and behold,
> no problem! That is, my original test
>
> echo "set term png" | gnuplot && echo "OK"
>
> works fine, over the same 2-stage ssh connection from home to campus,
> when executed in an xterm.
>
> All the same, it's bizarre that the problem doesn't occur with older
> gnuplot versions.
Yes, it is strange. Apparently xterm is more forgiving, but I think there may still be an issue. I say that because if I comment out all locations where X11_ipc is assigned inside X11_init(), which should be the equivalent of:
RETURN VALUE
The popen function returns NULL if the fork(2) or pipe(2) calls fail,
or if it cannot allocate memory.
gnuplot is exiting with a segfault.
In any case, I think that patch I put on SourceForge should be moved into CVS to make the endianess function consistent with other functions.
Dan
|
|
From: Allin C. <cot...@wf...> - 2007-03-10 00:19:23
|
On Fri, 9 Mar 2007, Daniel J Sebald wrote: > Allin Cottrell wrote: >> >> (2) After applying Daniel's patch and recompiling, my "set term >> png" echoed to gnuplot produced a failure (as before), but in >> addition >> >> echo "show version long" | gnuplot >> >> now produced the same X11 failure! > > Strange. What is the strace this time? I didn't check that; I can, if it's of interest. But here's one more piece of information. I now suspect that this may be a bug in gnome-terminal. I was running the test in gnome-terminal and it occurred to me to try doing the same thing in an xterm: lo and behold, no problem! That is, my original test echo "set term png" | gnuplot && echo "OK" works fine, over the same 2-stage ssh connection from home to campus, when executed in an xterm. All the same, it's bizarre that the problem doesn't occur with older gnuplot versions. Allin Cottrell |
|
From: Daniel J S. <dan...@ie...> - 2007-03-09 23:20:25
|
Allin Cottrell wrote: > On Fri, 9 Mar 2007, Daniel J Sebald wrote: > > a patch designed to fix the sort of problem that I reported. > > I'm now in the same position vis-a-vis the various computers as > when I first reported the issue. I'm afraid things get weirder. > > (1) Before applying Daniel's patch, the situation is as I > described yesterday. But, taking Ethan's idea, I also tried > > echo "show version long" | gnuplot > > and this worked OK. > > (2) After applying Daniel's patch and recompiling, my "set term > png" echoed to gnuplot produced a failure (as before), but in > addition > > echo "show version long" | gnuplot > > now produced the same X11 failure! > > waverley:~$ echo "show version long" | gnuplot > > gnuplot: unable to open display '' > gnuplot: X11 aborted. Strange. What is the strace this time? > I then reverted the patch, recompiled, and tried again. At least > the results seem stable: "show version long" piped to gnuplot > worked, "set term png" failed. And the strace for this as well? I just want to confirm that the system is exiting at the same location and it isn't moved somewhere else after the patch. Dan |
|
From: Allin C. <cot...@wf...> - 2007-03-09 23:02:05
|
On Fri, 9 Mar 2007, Daniel J Sebald wrote: a patch designed to fix the sort of problem that I reported. I'm now in the same position vis-a-vis the various computers as when I first reported the issue. I'm afraid things get weirder. (1) Before applying Daniel's patch, the situation is as I described yesterday. But, taking Ethan's idea, I also tried echo "show version long" | gnuplot and this worked OK. (2) After applying Daniel's patch and recompiling, my "set term png" echoed to gnuplot produced a failure (as before), but in addition echo "show version long" | gnuplot now produced the same X11 failure! waverley:~$ echo "show version long" | gnuplot gnuplot: unable to open display '' gnuplot: X11 aborted. I then reverted the patch, recompiled, and tried again. At least the results seem stable: "show version long" piped to gnuplot worked, "set term png" failed. Allin Cottrell |
|
From: Allin C. <cot...@wf...> - 2007-03-09 20:33:20
|
On Fri, 9 Mar 2007, Ethan A Merritt wrote: > On Friday 09 March 2007 05:39, Allin Cottrell wrote: >> >> I may have misdescribed the outcome, but in the context of a >> configure check this is what I had in mind: >> >> echo "set term png" | gnuplot 2>/dev/null && echo "OK" >> echo "set term foo" | gnuplot 2>/dev/null && echo "OK" >> >> The first command echoes "OK", the second doesn't. > > Can you point to any place in the documentation that supports > this idea? I have been looking, and can't find anything that > would give the impession that such a test would work. No, I haven't looked for this in the docs, I just noticed that it worked. Thanks for your further suggestions. Allin Cottrell |
|
From: <tim...@en...> - 2007-03-09 20:30:35
|
Timothée Lecomte wrote: >> On Thursday 08 March 2007 04:53, Timothée Lecomte wrote: >> > > >>>> What I implement in the plugin1.diff and plugin2.diff is the an >>>> in-between >>>> interactive structure: >>>> term->inter->waitforinput >>>> term->inter->put_tmptext >>>> term->inter->set_ruler >>>> term->inter->set_cursor >>>> term->inter->set_clipboard >>>> >>>> so that non-interactive terminals just have term->inter = 0, making it >>>> easier to extend the terminal API for interactive commands. >>>> >>> Yes, that's a bit cleaner. >>> But it's not like we extend the terminal API every week. >>> >> So you would suggest that I add term->raise_term_window directly in >> struct termentry ? >> >> In that case, my point is that: >> - if I add it to the bottom, then it's one more #ifdef USE_MOUSE >> - if I add it inside the current #ifdef USE_MOUSE, I have to add one '0' >> manually to all drivers >> > > Well, let's forget this idea of term->inter->... > I can actually add term->raise_term_window just inside the existing #ifdef > USE_MOUSE ... #endif, and I can introduce the following: > > #define EMPTY_MOUSE_ENTRIES \ > #ifdef USE_MOUSE \ > 0, 0, 0, 0, 0, 0, \ > #endif > > > So that non-mouseable terminals will just use NO_MOUSE_ENTRIES, and it > will be much easier to add new mousing commands in the future. > > Does that sound right ? > > Best regards, > > Timothée > Ok, that's done: http://sourceforge.net/tracker/index.php?func=detail&aid=1677582&group_id=2055&atid=302055 Comments ? Best regards, Timothée |
|
From: Ethan M. <merritt@u.washington.edu> - 2007-03-09 19:26:17
|
On Friday 09 March 2007 10:48, Mojca Miklavec wrote:
>=20
> I just wanted to point out that it might be useful to implement such a
> functionality for wxt (Timoth=E9e was a bit sceptic).
>=20
> > > For many users this is the most natural way indeed. Some people prefer
> > > scripting, some prefer clicking.
> >
> > I don't understand what that has to do with aqua.
> > In any interactive gnuplot terminal, you can bind a hotkey/click to a
> > print command of your choice. This is not limited to aquaterm.
>=20
> "bind a hotkey" is not equivalent to "have it in menu". I never came
> to an idea of binding a hotkey.
Well, I'll repeat a suggestion that I have made before.
There is a nice button-panel at the top of the wxt terminal,=20
but no mechanism for a user to add buttons to it. We could
do this via the existing "bind" command, or use some other
mechanism altogether, perhaps a configuration file.
Either way, the idea would be to specify an icon=20
(e.g. "~/icons/printer.png") and an action script
("set term push; set term pdf; set output '| lpr'; replot; set term pop").
Clicking the button triggers the script, just as it would for a hotkey bind=
ing.=20
I may well get around to trying to implement this myself,
but I was hoping Timoth=E9e would again speak up to say
"that's a one-line change if you know where to look".
=2D-=20
Ethan A Merritt Courier Deliveries: 1959 NE Pacific
Dept of Biochemistry
Health Sciences Building
University of Washington - Seattle WA 98195-7742
|
|
From: Mojca M. <moj...@gm...> - 2007-03-09 18:48:49
|
On 3/9/07, Ethan Merritt wrote:
> On Friday 09 March 2007 08:57, Mojca Miklavec wrote:
> >
> > Just to let you know - after a long discussion on the de.comp.text.tex
> > mailing list ("gnplot als PDF ausgeben") and a long list of proposals
> > how to create PDF with gnuplot, the user preffered to choose the
> > "aqua->save as pdf" way.
>
> So, a Mac-only solution?
Regretably yes.
> Fine for Mac users, although I guess this puts pressure on Per to
> finishing implementing the full set of features in aquaterm. Right now
> aqua lags the other interactive terminal types in terms of what it can do=
.
I just wanted to point out that it might be useful to implement such a
functionality for wxt (Timoth=E9e was a bit sceptic).
> > For many users this is the most natural way indeed. Some people prefer
> > scripting, some prefer clicking.
>
> I don't understand what that has to do with aqua.
> In any interactive gnuplot terminal, you can bind a hotkey/click to a
> print command of your choice. This is not limited to aquaterm.
"bind a hotkey" is not equivalent to "have it in menu". I never came
to an idea of binding a hotkey.
> > A well-written application supports both.
>
> We already support both, or actually 3 choices. You can have
> 1) command line scripted replot on a different terminal type
> 2) hotkey or click to trigger replot to a printer
> 3) select and export to clipboard for further action of your choice
I need to try that out on a windows machine ...
I have never tried any of the last two options.
> In addition, the window manager may offer other choices. For example,
> the KDE desktop uses the "print screen" key to trigger a utility program
> that can save all or part of your plot window to a PNG file.
But this is a longer procedure and only creates suboptimal (bitmap) results=
.
> > It's realy nice that the PDF documents that come out are vector-based,
> > not pixel-based, as would be the most natural way to save a graphic
> > from windows.
>
> That's just Windows idiocy. Except that it's not even true, I think.
> Doesn't saving via the Windows clipboard give you a vector-based metafile=
?
This might be true, but usually printscreen is the only choice (unless
a specific program supports some kind of vector graphics). I doubt
that one can export any kind of vector graphic out of the windows
terminal, but I may be wrong.
Mojca
|
|
From: Brendan B. <bb...@cs...> - 2007-03-09 18:37:03
|
And that indeed appears to still be the case ;-) Although I'm not 100% certain what it should look like... (and I don't have Konqueror on OS X) --brendan On Mar 9, 2007, at 1:16 PM, Ethan Merritt wrote: > On Friday 09 March 2007 10:02, Brendan Burns wrote: >> Actually, I just looked at the graphs on the link you sent, and it >> seems like Firefox (2.0.2 on Mac OS X) supports transparency. In the >> first graph on that page, I see the bleed through from the green into >> the yellow, etc. > > Development is rapid. Isn't it great? :-) > > But to be more precise, I should have said "Firefox did not support > transparent pattern-fill last time I checked (version 1.5 under > linux)". > > See plots 3 and 4 of > http://gnuplot.sourceforge.net/demo_svg/transparent.html > > -- > Ethan A Merritt > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta |
|
From: <tim...@en...> - 2007-03-09 18:32:04
|
Peter Danenberg wrote: >> My second concern is that we already have gd that does the work >> quite well to export in jpeg/gif/png apart from not doing >> antialiasing. >> > > > Aye, that's the rub, Timothée; I'm setting up gnuplot > as a webservice, and having antialiased PNGs would be a sig‐ > nificant quality-improvement. > > Where does the pdf code live; and would it be a suit‐ > able template for making a Cairo-PNG patch? > > Best, Peter The cairopdf terminal is here: http://sourceforge.net/tracker/index.php?func=detail&aid=1651015&group_id=2055&atid=302055 Making a cairopng terminal is actually almost a one-liner from the above patch: you just have to change 'cairo_pdf_surface_create' to its png counterpart. Sweet, isn't it ? Best regards, Timothée |
|
From: Ethan M. <merritt@u.washington.edu> - 2007-03-09 18:16:20
|
On Friday 09 March 2007 10:02, Brendan Burns wrote:
> Actually, I just looked at the graphs on the link you sent, and it
> seems like Firefox (2.0.2 on Mac OS X) supports transparency. In the
> first graph on that page, I see the bleed through from the green into
> the yellow, etc.
Development is rapid. Isn't it great? :-)
But to be more precise, I should have said "Firefox did not support
transparent pattern-fill last time I checked (version 1.5 under linux)".
See plots 3 and 4 of
http://gnuplot.sourceforge.net/demo_svg/transparent.html
--
Ethan A Merritt
|
|
From: Brendan B. <bb...@cs...> - 2007-03-09 18:02:15
|
Actually, I just looked at the graphs on the link you sent, and it seems like Firefox (2.0.2 on Mac OS X) supports transparency. In the first graph on that page, I see the bleed through from the green into the yellow, etc. --brendan On Mar 9, 2007, at 12:50 PM, Ethan Merritt wrote: > Firefox is not bad either, although it doesn't handle transparency. |
|
From: Ethan M. <merritt@u.washington.edu> - 2007-03-09 17:51:03
|
On Friday 09 March 2007 06:39, Peter Danenberg wrote: > Aye, that's the rub, Timoth=C3=A9e; I'm setting up gnuplot > as a webservice, and having antialiased PNGs would be a sig=E2=80=90 > nificant quality-improvement. There is also the choice of creating embedded SVG images for web display. I think this will be the wave of the future, particularly if we add scripted mousing support to the SVG output. That way you'd have mousable plots on a web page. Even aside from mousing, SVG has an advantage over PNG in that it is vector-based and can be zoomed in the browser. The current state of gnuplot SVG output is pretty good: http://gnuplot.sourceforge.net/demo_svg/ In fact, gnuplot's support of SVG is better than the web browsers', which is where the biggest current problem lies. By far the best browser support I've seen is in Konqueror, which uses the ksvg module from KDE. Firefox is not bad either, although it doesn't handle transparency. The Adobe browser plugin used to be pretty solid, but recently I haven't been able to make it work at all under linux. =2D-=20 Ethan A Merritt |
|
From: Ethan M. <merritt@u.washington.edu> - 2007-03-09 17:36:28
|
On Friday 09 March 2007 08:57, Mojca Miklavec wrote:
>
> Just to let you know - after a long discussion on the de.comp.text.tex
> mailing list ("gnplot als PDF ausgeben") and a long list of proposals
> how to create PDF with gnuplot, the user preffered to choose the
> "aqua->save as pdf" way.
So, a Mac-only solution?
Fine for Mac users, although I guess this puts pressure on Per to
finishing implementing the full set of features in aquaterm. Right now
aqua lags the other interactive terminal types in terms of what it can do.
> For many users this is the most natural way indeed. Some people prefer
> scripting, some prefer clicking.
I don't understand what that has to do with aqua.
In any interactive gnuplot terminal, you can bind a hotkey/click to a
print command of your choice. This is not limited to aquaterm.
> A well-written application supports both.
We already support both, or actually 3 choices. You can have
1) command line scripted replot on a different terminal type
2) hotkey or click to trigger replot to a printer
3) select and export to clipboard for further action of your choice
In addition, the window manager may offer other choices. For example,
the KDE desktop uses the "print screen" key to trigger a utility program
that can save all or part of your plot window to a PNG file.
> It's realy nice that the PDF documents that come out are vector-based,
> not pixel-based, as would be the most natural way to save a graphic
> from windows.
That's just Windows idiocy. Except that it's not even true, I think.
Doesn't saving via the Windows clipboard give you a vector-based metafile?
--
Ethan A Merritt
|
|
From: Pierre <pie...@gm...> - 2007-03-09 16:58:58
|
On 3/9/07, Ethan A Merritt <merritt@u.washington.edu> wrote: > On Friday 09 March 2007 06:22, Pierre wrote: > > Hello, > > > > On 3/9/07, Peter Danenberg <pc...@wi...> wrote: > > > > My second concern is that we already have gd that does the work > > > > quite well to export in jpeg/gif/png apart from not doing > > > > antialiasing. > > > > As a side note, GD supports antialiased lines and polygon (without > > transparency). > > Sorry to disagree, Nothing to disagree, the AA support is limited, nothing new here :) Or to be short, it works well only with simple (and single) lines. > but in the context of drawing arbitrary curves > with arbitrary line-widths (which is to say practically every line > drawn by gnuplot) libgd through version 2.0.34 does not support > antialiasing. Yes, it is one of the case where the anti alias does not work well (I should say does not work at all).. Ellipse or circle (filled, arcs or with thickness) will be in cvs in the next days. Filled polygon and general ellipses will follow later. It will hopefully help to render nicer shapes. A temporary solution for the thick lines is to use the filled polygon function, as long as you don't need transparency. I'm not sure it will work well with polylines (it may draw twice the area between two segments). > > I'm working on the other drawing functions like the > > filled ellipses or arcs as well as a an improved polygon function > > (full transparency support as well). > > IMHO the most dramatic improvement would come from implementing > an anti-aliased brushstroke. That one change would by itself fix > most of the aliasing artifacts seen in gnuplot png output. Yes, but it is what cairo does and I don't think it is worth the effort to re implement something like that in GD (it is not that simple). However, if someone likes to implement something like that, he will be more than welcome. I'll be happy to help (that's true for any desired features or change). --Pierre |
|
From: Mojca M. <moj...@gm...> - 2007-03-09 16:57:35
|
On 3/9/07, Timoth=E9e Lecomte wrote:
> At first, I had the idea to provide an 'export' feature from the wxt
> terminal, using cairo code directly. However, now I feel that it's
> dangerous to have two different paths to do the same thing (gnuplot as it
> is now is a scripting language after all, not a GUI).
Just to let you know - after a long discussion on the de.comp.text.tex
mailing list ("gnplot als PDF ausgeben") and a long list of proposals
how to create PDF with gnuplot, the user preffered to choose the
"aqua->save as pdf" way.
For many users this is the most natural way indeed. Some people prefer
scripting, some prefer clicking. A well-written application supports
both. (Did you already figure out how to do vector-based pm3d?)
Mojca
(I can translate if needed, but the whole thread was about different
proposals how to make PDF, and the user has chosen the "save as" way.
It's realy nice that the PDF documents that come out are vector-based,
not pixel-based, as would be the most natural way to save a graphic
from windows.)
----------------------------
Martin P=F6pping schrieb:
> ich verwende pdflatex f=FCr meine Latex Dokumente und bevorzuge daher
> Bilder/ Diagramme als PDF Datei anstelle von EPS.
> Gibt es eine M=F6glichkeit von gnuplot heraus direkt ein PDF zu erzeugen?
> Oder wie verwendet ihr gnuplots f=FCr pdflatex?
> Oder ist epstopdf der sauberste Weg?
> Mit epstopdf hatte ich jedenfalls, zumindest bei Datenfluss- und
> UML-Diagrammen, nicht die besten Erfahrungen gemacht.
Hallo,
wen es interessiert... ich habe jetzt einen sch=F6nen simplen Weg gefunden.
Da ich unter MacOS arbeite, habe ich AquaTerm gefunden:
http://aquaterm.sourceforge.net/
Einfach unter gnuplot:
set terminal aqua
Und dann wird es unter Aqua geplottet.
Dort kann man dann einfach mit Datei =3D> Speichern unter den Plot als EPS
oder PDF Datei speichern.
Klappt sehr gut und man hat den Vorteil, dass man nicht den Umweg =FCber
X11 gehen muss.
|
|
From: Ethan A M. <merritt@u.washington.edu> - 2007-03-09 16:23:15
|
On Friday 09 March 2007 05:39, Allin Cottrell wrote:
>
> I may have misdescribed the outcome, but in the context of a
> configure check this is what I had in mind:
>
> echo "set term png" | gnuplot 2>/dev/null && echo "OK"
> echo "set term foo" | gnuplot 2>/dev/null && echo "OK"
>
> The first command echoes "OK", the second doesn't.
Can you point to any place in the documentation that supports
this idea? I have been looking, and can't find anything that
would give the impession that such a test would work.
It is true there is at least one code path that would
result in gnuplot exiting with an error status set, but the
path looks rather fragile to me. It depends on the current
input stream and on whether the "interactive" flag is set,
and anyhow it isn't initialized until the initial terminal
setup is already complete. So I guess I am surprised to
learn that such a test ever worked!
My recommendation for a configuration test is to use the
output of "show version long":
-READLINE +LIBREADLINE +HISTORY -BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-NOCWDRC +X11 +X11_POLYGON +MULTIBYTE +USE_MOUSE +HIDDEN3D_QUADTREE
+DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE
You can even check these configuration option from inside a gnuplot
script. The current demos do this. For example, image.dem begins with
if ((GPVAL_VERSION == 4.3 || GPVAL_VERSION == 4.2) \
&& (!strstrt(GPVAL_COMPILE_OPTIONS,"+IMAGE"))) \
print ">>> Skipping demo <<<\n" ; \
print "This copy of gnuplot was built without support for plotting images" ; \
exit ;
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|
|
From: Ethan A M. <merritt@u.washington.edu> - 2007-03-09 16:07:21
|
On Friday 09 March 2007 06:22, Pierre wrote: > Hello, > > On 3/9/07, Peter Danenberg <pc...@wi...> wrote: > > > My second concern is that we already have gd that does the work > > > quite well to export in jpeg/gif/png apart from not doing > > > antialiasing. > > As a side note, GD supports antialiased lines and polygon (without > transparency). Sorry to disagree, but in the context of drawing arbitrary curves with arbitrary line-widths (which is to say practically every line drawn by gnuplot) libgd through version 2.0.34 does not support antialiasing. > I'm working on the other drawing functions like the > filled ellipses or arcs as well as a an improved polygon function > (full transparency support as well). IMHO the most dramatic improvement would come from implementing an anti-aliased brushstroke. That one change would by itself fix most of the aliasing artifacts seen in gnuplot png output. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: Pierre <pie...@gm...> - 2007-03-09 14:22:33
|
Hello, On 3/9/07, Peter Danenberg <pc...@wi...> wrote: > > My second concern is that we already have gd that does the work > > quite well to export in jpeg/gif/png apart from not doing > > antialiasing. As a side note, GD supports antialiased lines and polygon (without transparency). I'm working on the other drawing functions like the filled ellipses or arcs as well as a an improved polygon function (full transparency support as well). My goal is not to provide the same quality as Cairo but to provide the best possible results (compromises between speed and quality). The result of my work should be in CVS in the next two weeks. Another major addition for the 2.1.x serie is the support of Cairo image surface (there is discussions about agg as well). It will let one load, save or copy images from or to a Cairo image surface. That means adding all image formats available in GD to Cairo (gif89(a), png with the filters/compression options, jpeg or the new tga and tiff formats). --Pierre |
|
From: Allin C. <cot...@wf...> - 2007-03-09 13:58:36
|
On Fri, 9 Mar 2007, Daniel J Sebald wrote: > Allin, please try the following patch and rebuild gnuplot to see if this > fixes matters. Thanks, I'll try this tonight. (I can't really test it right now, since I'm not seeing the problem from here.) Allin Cottrell |
|
From: Allin C. <cot...@wf...> - 2007-03-09 13:39:26
|
On Thu, 8 Mar 2007, Ethan A Merritt wrote: > On Thursday 08 March 2007 19:35, Allin Cottrell wrote: >>> bash-3.1$ echo "show term" | GNUTERM=dumb gnuplot_4.2 >>> >>> terminal type is dumb feed 79 24 >> >> Yes, that works fine, only you have to parse the response; the >> exit status seems to be OK regardless of the GNUTERM setting. > > Were you expecting an error exit status? Why? > > I would not have expected an error exit from your original > test run on gnuplot version 4.0 either. > Failing to find a terminal is not a fatal error. > It just returns you to the gnuplot command prompt. > So when would you ever see an error exit? I may have misdescribed the outcome, but in the context of a configure check this is what I had in mind: echo "set term png" | gnuplot 2>/dev/null && echo "OK" echo "set term foo" | gnuplot 2>/dev/null && echo "OK" The first command echoes "OK", the second doesn't. Thus I can get a reading on whether the term type is supported without having to parse any gnuplot output. Allin Cottrell |
|
From: Peter D. <pc...@wi...> - 2007-03-09 13:37:45
|
> My second concern is that we already have gd that does the work
> quite well to export in jpeg/gif/png apart from not doing
> antialiasing.
Aye, that's the rub, Timothée; I'm setting up gnuplot
as a webservice, and having antialiased PNGs would be a sig‐
nificant quality-improvement.
Where does the pdf code live; and would it be a suit‐
able template for making a Cairo-PNG patch?
Best, Peter
|
|
From: Allin C. <cot...@wf...> - 2007-03-09 13:31:19
|
On Thu, 8 Mar 2007, Ethan A Merritt wrote: > The thing is, I still don't quite understand why Allin is > seeing this problem. The original bug report was due > to incomplete installation; gnuplot was built to default to > X11, but the X11 driver (gnuplot_x11) had not actually been > installed. The problem arose because gnulot tried to open a > pipe to gnuplot_x11, but gnuplot_x11 wasn't there. This > is a different case entirely. Yes, this is a bit mysterious. This morning I'm at the machine that I was accessing remotely last night, and if I try the various experiments you mention (e.g. unsetting DISPLAY, or setting it to some invalid value) I get the same results that you report: the x11 terminal won't work (obviously) but gnuplot does not bomb out. My connection last night was a 2-stage ssh session: from a home DSL connection, behind a firewall, to server B on campus, then from server B to machine A, inside the campus firewall. Now I'm on campus, and I've tried ssh'ing from A to B, then back from B to A (with DISPLAY unset) and running my test command: it works OK! Allin Cottrell |
|
From: <tim...@en...> - 2007-03-09 09:46:06
|
> The wxt terminal looks great, by the way; Thanks ! > Timothée Lecomte mentioned, however, back in 2005* that: > > [The wxt terminal] could also be reused to give > ps/psf/png/... outputs easily. > > Is anyone working on antialiased PNG output via Cairo/Pango? > > Best, Peter > > * http://lists.freedesktop.org/archives/cairo/2005-November/005647.html > Well, the pdf terminal is in the works, there's a patch on sourceforge nearing completion. As far as other formats are concerned: - gnuplot already does svg and postscript very well, and I'm afraid using cairo for this would generate more obfuscated code (however, if gradients are ever used in gnuplot, it would prevent us from doing the work ourselves). - for bitmap formats, cairo only knows pixel buffers and PNG. So my first concern is that we would need another library if we want to do anything besides PNG. My second concern is that we already have gd that does the work quite well to export in jpeg/gif/png apart from not doing antialiasing. At first, I had the idea to provide an 'export' feature from the wxt terminal, using cairo code directly. However, now I feel that it's dangerous to have two different paths to do the same thing (gnuplot as it is now is a scripting language after all, not a GUI). Best regards, Timothée |
|
From: <tim...@en...> - 2007-03-09 09:37:43
|
> On Thursday 08 March 2007 04:53, Timothée Lecomte wrote: > >> >>> What I implement in the plugin1.diff and plugin2.diff is the an >>> in-between >>> interactive structure: >>> term->inter->waitforinput >>> term->inter->put_tmptext >>> term->inter->set_ruler >>> term->inter->set_cursor >>> term->inter->set_clipboard >>> >>> so that non-interactive terminals just have term->inter = 0, making it >>> easier to extend the terminal API for interactive commands. >> >> Yes, that's a bit cleaner. >> But it's not like we extend the terminal API every week. > > So you would suggest that I add term->raise_term_window directly in > struct termentry ? > > In that case, my point is that: > - if I add it to the bottom, then it's one more #ifdef USE_MOUSE > - if I add it inside the current #ifdef USE_MOUSE, I have to add one '0' > manually to all drivers Well, let's forget this idea of term->inter->... I can actually add term->raise_term_window just inside the existing #ifdef USE_MOUSE ... #endif, and I can introduce the following: #define EMPTY_MOUSE_ENTRIES \ #ifdef USE_MOUSE \ 0, 0, 0, 0, 0, 0, \ #endif So that non-mouseable terminals will just use NO_MOUSE_ENTRIES, and it will be much easier to add new mousing commands in the future. Does that sound right ? Best regards, Timothée |