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: Tatsuro M. <tma...@ya...> - 2009-09-12 09:42:42
|
Hello --- Petr Mikulik wrote: > HTML Help Workshop says it can convert rtf (such as gnuplot.rtf) into CHM. > However, it does not work for me -- on WXP or Wine it says that some DLLs > are incorrect. > > Has somebody succeeded? I have met the same errors. I googled again and found the page. http://www.helpfulsolutions.com/ HTML Help DLL Registrar - ...........This little program asks you where you installed HTML Help Workshop and then registers all of the DLLs it requires.................. HLP to HTML Help Convertor Fixer - ..... "The DLLs necessary to convert RTF to HTML have not been installed correctly. Reinstall HTML Help Workshop and try again." is somewhat bogus............ I will try them > > > Now html documents in 'make' are produced by latex2html. > > I have tried the above. However, my limited ability and time prevents me to go ahead :-( . > > > > http://www.geocities.jp/tmgpltwin/Files/Files.html > > 0022 gnuplot.chm.zip, 376,810 bytes, 2009-09-07, zipped gnuplot.chm file > > generated by HTML Help Complier > > > > The above file was made by mere translattion of htmldocs of the recent cvs > > sources. That is a mere test of HTML Help Complier. > > How have you managed to include Contents and Index? > > > I wonder whether MS HTML Help Workshop is the only tool. Isn't there some > other tool, e.g. such that can be operated from a command line as the HCW > currently used? That was a mere test so that contents and index were not treated. To get complete help, of course, we have to treat the contents an index. I have not try them yet. >Isn't there some > other tool, e.g. such that can be operated from a command line as the HCW > currently used? I have looking about the help. I cannot find the description of command line. Script writing by WSH (Windows script host) might be possible to treat it from command line. Regards Tatsuro -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ |
|
From: Petr M. <mi...@ph...> - 2009-09-11 10:17:36
|
> > Or shell we ship the CHM help file (is there an appropriate convertor > > for gnuplot formats? I've googled one shareware hlp2chm.exe.)? > > I have tried to convert the html-style gnuplot documents to a chm file by HTML Help Workshop. > However customization of html files to chm help for index or so will be recommended. > > I think that it is better to convert doc2rtf for Help Workshop to program > like doc2html for HTML Help Workshop. HTML Help Workshop says it can convert rtf (such as gnuplot.rtf) into CHM. However, it does not work for me -- on WXP or Wine it says that some DLLs are incorrect. Has somebody succeeded? > Now html documents in 'make' are produced by latex2html. > I have tried the above. However, my limited ability and time prevents me to go ahead :-( . > > http://www.geocities.jp/tmgpltwin/Files/Files.html > 0022 gnuplot.chm.zip, 376,810 bytes, 2009-09-07, zipped gnuplot.chm file > generated by HTML Help Complier > > The above file was made by mere translattion of htmldocs of the recent cvs > sources. That is a mere test of HTML Help Complier. How have you managed to include Contents and Index? I wonder whether MS HTML Help Workshop is the only tool. Isn't there some other tool, e.g. such that can be operated from a command line as the HCW currently used? --- PM |
|
From: Petr M. <mi...@ph...> - 2009-09-11 08:56:24
|
> My inclination is to add a "fontscale" option for all terminal drivers, > analogous to the "linewidth" and "dashlength" terminal options. > Like these, it would be interpreted as "whatever font size was requested, > multiply it by this scale factor before using it". > > Then the font sizes mentioned explicitly in a script could be used > without change, so long as you added an appropriate scaling factor > in the 'set term' command. That would be great especially for inset figures in multiplot, where smaller font is a must. A simple command such as "set termoption fontscale 0.5" would make the job much easier. --- PM |
|
From: Allin C. <cot...@wf...> - 2009-09-11 04:07:47
|
On Thu, 10 Sep 2009, Ethan Merritt wrote: > On Thursday 10 September 2009, Allin Cottrell wrote: > > > > "Back to basics". The only sort of thing you can literally "pass > > to" gnuplot (as an executable program) is a string, as in the argv > > array or as part of a "set foo ..." statement. > > That's not really true. It is certainly the most portable thing, > but far from the only thing. You can pass shared memory objects, > or loadable shared libraries/plugins, for example... OK, then I'm missing something. Could you give an example of how you can pass such things at run time other than via strings in argv or "set..."? I understand that you can ask gnuplot to read binary data, but I thought the only way to do that was by passing the program a string, namely the name of a file to open. Allin Cottrell |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-11 01:27:09
|
On Thursday 10 September 2009, Allin Cottrell wrote: > > "Back to basics". The only sort of thing you can literally "pass > to" gnuplot (as an executable program) is a string, as in the argv > array or as part of a "set foo ..." statement. That's not really true. It is certainly the most portable thing, but far from the only thing. You can pass shared memory objects, or loadable shared libraries/plugins, for example. There is even an existing patchset on the SourceForge tracker that implements loadable shared objects so that you can have pluggable math functions. > However, strings can be interpreted in various ways. If we're > really talking about passing a pre-allocated cairo context to > gnuplot, the only way I can envisage of doing this would be saying > something like > > set cairo_t "0x818a400" > > (to a hypothetical gnuplot "raw_cairo" terminal). > > It seems this would offer (depending on one's black-hat skill > level) a good way of crashing gnuplot or turning it into a > rootkit; It's no different than plugins in Firefox or Gimp or xmms or MSWord or name your favorite application. If the plugin is malicious then, yeah, it can cause problems. But only at the level gnuplot itself can already cause problems. It doesn't magically gain additional capabilities or privilege levels. > but I suppose that in the right hands it could do what > Richard is (I think) talking about -- i.e. get gnuplot to write > into an area of memory rather than a file. Maybe I mis-understand the intended use. I thought the proposed application was to draw into an existing widget that was being displayed on the screen, much like the x11 terminal can draw into an existing x-window. If it's on the screen, then it has a publically visible identifier already that the display/window manager can use. You would in principle only have to pass that identifier, just like passing the ID of an X window (and in fact it might even _be_ the identifier of an X window; I don't know how gtk widgets work exactly). Be that as it may, at least on linux "writing into an area of memory rather than a file" is a false dichotomy. You can map a file into memory and access it by either mechanism. Or at least that is my understanding. I admit that I've never programmed using memory-mapped files. See, e.g. http://www.ecst.csuchico.edu/~beej/guide/ipc/mmap.html So that might indeed be one way to implement this. Ethan |
|
From: Allin C. <cot...@wf...> - 2009-09-11 00:52:45
|
On Thu, 10 Sep 2009, Ethan Merritt wrote: > On Thursday 10 September 2009 02:34:07 Richard Henwood wrote: > > there is a useful post provided by the author of the extcairo driver: > > http://www.mail-archive.com/plp...@li.../msg01273.html > > and example usage: > > http://plplot.sourcearchive.com/documentation/5.9.2/ext-cairo-test_8c-source.html > > Hmm. > Their use of the word "external" doesn't match mine, if that's > an example of it. In the URL you point to, it's just that a > routine in plplot itself initializes cairo and then passes it to > the driver. What we would be looking for is an example of one > process initializing a cairo context and then passing a handle > to another process entirely. Which may or may not be possible - > I just dont know. "Back to basics". The only sort of thing you can literally "pass to" gnuplot (as an executable program) is a string, as in the argv array or as part of a "set foo ..." statement. However, strings can be interpreted in various ways. If we're really talking about passing a pre-allocated cairo context to gnuplot, the only way I can envisage of doing this would be saying something like set cairo_t "0x818a400" (to a hypothetical gnuplot "raw_cairo" terminal). It seems this would offer (depending on one's black-hat skill level) a good way of crashing gnuplot or turning it into a rootkit; but I suppose that in the right hands it could do what Richard is (I think) talking about -- i.e. get gnuplot to write into an area of memory rather than a file. Allin Cottrell |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-10 21:20:44
|
On Thursday 10 September 2009 02:34:07 Richard Henwood wrote: > On Wed, 2009-09-09 at 08:42 -0700, Ethan Merritt wrote: > <snip> > > > > I'm not a gtk programmer, but there's always Google... > > which leads me to the plplot project on SourceForge. It seems that > > plplot is somewhat similar to gnuplot in intent, but the relevant point > > is that they recently added an external cairo terminal driver "extcairo" > > that so far as I can tell from the description does exactly what you want. > > If it works for them, I don't see why it wouldn't work for us. > > Anyonw have time to check out the code and report back on how the > > information to open the context is passed? > > I've had a quick look at what I think the relevant bits of PLplot are. > > 1. The extcairo driver within PLplot requires an existing cairo context > to be provided to it. > 2. PLplot then draws over the context and returns. > > there is a useful post provided by the author of the extcairo driver: > http://www.mail-archive.com/plp...@li.../msg01273.html > and example usage: > http://plplot.sourcearchive.com/documentation/5.9.2/ext-cairo-test_8c-source.html Hmm. Their use of the word "external" doesn't match mine, if that's an example of it. In the URL you point to, it's just that a routine in plplot itself initializes cairo and then passes it to the driver. What we would be looking for is an example of one process initializing a cairo context and then passing a handle to another process entirely. Which may or may not be possible - I just dont know. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-10 19:11:54
|
On Thursday 10 September 2009 11:38:09 Allin Cottrell wrote: > On Wed, 9 Sep 2009, Ethan Merritt wrote: > > I don't see anything immediately in looking at the code. > > It really is initialized to 6, but after that it seems to just pass > > through any request to the cairo library. > > Ah, in cairo.trm we have two alternative default initializations, > CAIROPDF_PARAMS_DEFAULT and CAIROPNG_PARAMS_DEFAULT; the former > specifies a 6-point font and the latter specifies 12-point. Guess I missed that in my quick look. > What's to be done? One option would be to multiply the user's > font size specification by 2 in the case of pngcairo, to make it > consistent with the "6 point" default. That is, if I say > > set term pngcairo font "foo,8" > > the actual size sent to the driver is 16. > > The alternative would be to amend the doc for pngcairo to say that > the default is 12 points. This has the advantage that it doesn't > change the output of existing gnuplot scripts, but the > disadvantage that it ratifies the situation where you have to > apply a factor of 2 to the font size if you want comparable output > from pdfcairo and pngcairo (in the case where you're not just > accepting the default size). The issue is more general that just comparing pdfcairo and pngcairo. For instance, 'set term post' defaults to 7x10" output, but 'set term post eps' defaults to half of that: 3.5"x5". Yet they both claim to have the same default font size. My inclination is to add a "fontscale" option for all terminal drivers, analogous to the "linewidth" and "dashlength" terminal options. Like these, it would be interpreted as "whatever font size was requested, multiply it by this scale factor before using it". Then the font sizes mentioned explicitly in a script could be used without change, so long as you added an appropriate scaling factor in the 'set term' command. Ethan -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: Allin C. <cot...@wf...> - 2009-09-10 18:38:22
|
On Wed, 9 Sep 2009, Ethan Merritt wrote: > On Wednesday 09 September 2009, Allin Cottrell wrote: > > > > I like the *cairo terminals a lot: PNG looks good on screen and > > PDF is good for publication-quality output; and these two > > terminals share a common command-set with high fidelity, since > > they use a common back-end. Except for one thing... > > > > The help for both pngcairo and pdfcairo says that the default size > > for fonts is 6 points. That's fine, and if you go with the > > default you get quite consistent-looking output from the two > > terminals. > > > > But if you alter the size, an inconsistency emerges. Suppose I'd > > prefer 8 points. I do my PNG plot using > > > > set term pngcairo font ",8" > > > > then do my PDF plot using > > > > set term pdfcairo font ",8" > > > > Relative to the "6-point" baseline, the PNG file shows a smaller > > font (8 < 6, hmm) while the PDF plot shows a larger font (8 > 6). > > > > I'm happy to take a look at the code and see if I can come up with > > a patch for this. But I'd rather hear any comments first. > > I don't see anything immediately in looking at the code. > It really is initialized to 6, but after that it seems to just pass > through any request to the cairo library. Ah, in cairo.trm we have two alternative default initializations, CAIROPDF_PARAMS_DEFAULT and CAIROPNG_PARAMS_DEFAULT; the former specifies a 6-point font and the latter specifies 12-point. > The whole idea of "font size" in a png image is kind of arbitrary anyhow, > since it depends entirely on the pixel size of the device it is viewed on. Yes, agreed, there is a degree of freedom here, and I think the following may be the implicit logic of how that degree of freedom is used at present: * In pdfcairo a 6-point font looks appropriate. * We want the default appearance of PNG to be similar to PDF. * You get similar-looking output by setting a fontsize of 12 for pngcairo. * So we'll call that (fontsize = 12) "6 points" in the doc for pngcairo. This seems alright until the user changes the font size in pngcairo, and sees that "8 point" comes out smaller than "6 point". What's to be done? One option would be to multiply the user's font size specification by 2 in the case of pngcairo, to make it consistent with the "6 point" default. That is, if I say set term pngcairo font "foo,8" the actual size sent to the driver is 16. The alternative would be to amend the doc for pngcairo to say that the default is 12 points. This has the advantage that it doesn't change the output of existing gnuplot scripts, but the disadvantage that it ratifies the situation where you have to apply a factor of 2 to the font size if you want comparable output from pdfcairo and pngcairo (in the case where you're not just accepting the default size). Allin Cottrell |
|
From: Richard H. <ric...@st...> - 2009-09-10 09:37:19
|
On Wed, 2009-09-09 at 08:42 -0700, Ethan Merritt wrote: <snip> > > I'm not a gtk programmer, but there's always Google... > which leads me to the plplot project on SourceForge. It seems that > plplot is somewhat similar to gnuplot in intent, but the relevant point > is that they recently added an external cairo terminal driver "extcairo" > that so far as I can tell from the description does exactly what you want. > If it works for them, I don't see why it wouldn't work for us. > Anyonw have time to check out the code and report back on how the > information to open the context is passed? I've had a quick look at what I think the relevant bits of PLplot are. 1. The extcairo driver within PLplot requires an existing cairo context to be provided to it. 2. PLplot then draws over the context and returns. there is a useful post provided by the author of the extcairo driver: http://www.mail-archive.com/plp...@li.../msg01273.html and example usage: http://plplot.sourcearchive.com/documentation/5.9.2/ext-cairo-test_8c-source.html r, -- Scanned by iCritical. |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-10 03:12:27
|
On Wednesday 09 September 2009, Allin Cottrell wrote: > > I like the *cairo terminals a lot: PNG looks good on screen and > PDF is good for publication-quality output; and these two > terminals share a common command-set with high fidelity, since > they use a common back-end. Except for one thing... > > The help for both pngcairo and pdfcairo says that the default size > for fonts is 6 points. That's fine, and if you go with the > default you get quite consistent-looking output from the two > terminals. > > But if you alter the size, an inconsistency emerges. Suppose I'd > prefer 8 points. I do my PNG plot using > > set term pngcairo font ",8" > > then do my PDF plot using > > set term pdfcairo font ",8" > > Relative to the "6-point" baseline, the PNG file shows a smaller > font (8 < 6, hmm) while the PDF plot shows a larger font (8 > 6). > > I'm happy to take a look at the code and see if I can come up with > a patch for this. But I'd rather hear any comments first. I don't see anything immediately in looking at the code. It really is initialized to 6, but after that it seems to just pass through any request to the cairo library. The whole idea of "font size" in a png image is kind of arbitrary anyhow, since it depends entirely on the pixel size of the device it is viewed on. Perhaps there is some "pixels per inch" setting in the cairo context that can be tweaked? Ethan |
|
From: Allin C. <cot...@wf...> - 2009-09-10 02:00:12
|
I like the *cairo terminals a lot: PNG looks good on screen and PDF is good for publication-quality output; and these two terminals share a common command-set with high fidelity, since they use a common back-end. Except for one thing... The help for both pngcairo and pdfcairo says that the default size for fonts is 6 points. That's fine, and if you go with the default you get quite consistent-looking output from the two terminals. But if you alter the size, an inconsistency emerges. Suppose I'd prefer 8 points. I do my PNG plot using set term pngcairo font ",8" then do my PDF plot using set term pdfcairo font ",8" Relative to the "6-point" baseline, the PNG file shows a smaller font (8 < 6, hmm) while the PDF plot shows a larger font (8 > 6). I'm happy to take a look at the code and see if I can come up with a patch for this. But I'd rather hear any comments first. Allin Cottrell |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-09 22:02:32
|
On Wednesday 09 September 2009 14:48:28 Allin Cottrell wrote: > > help pdfcairo gives, inter alia: > > <quote> > The width of all lines in the plot can be modified by the factor > <lw> specified in `linewidth`. The default linewidth is 0.25 > points. (1 "PostScript" point = 1/72 inch = 0.353 cm) > </quote> > > Er, that should be 0.0353 cm. True. |
|
From: Allin C. <cot...@wf...> - 2009-09-09 21:48:38
|
help pdfcairo gives, inter alia: <quote> The width of all lines in the plot can be modified by the factor <lw> specified in `linewidth`. The default linewidth is 0.25 points. (1 "PostScript" point = 1/72 inch = 0.353 cm) </quote> Er, that should be 0.0353 cm. -- Allin Cottrell Department of Economics Wake Forest University |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-09 15:42:21
|
On Wednesday 09 September 2009, Allin Cottrell wrote: > > On Wed, 9 Sep 2009, Richard Henwood wrote: > > > On Tue, 2009-09-08 at 09:27 -0700, Ethan Merritt wrote: > > > On Tuesday 08 September 2009 01:44:25 Richard Henwood wrote: > > > > On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > > > > > > > > > > I think what Richard was asking is whether the "cairo drawing > > > > > context" struct, or "cairo_t", that is used internally by gnuplot > > > > > could somehow be exposed programmatically... > > > > > > > > This is indeed what I am curious about... > > > > [...] This mode of operation is already supported by the qt, > > > tkcanvas, and x11 terminal drivers. You initialize the > > > context, invoke gnuplot, and tell it to draw into your > > > existing context rather than creating a new one. Of course > > > the details are different in each case. > > > > Ah! This is good news. So presumably if a 'cairo' terminal driver > > existed, this would provide me a way to get nice gnuplot plots into my > > GTK/cairo application? > > In the meantime a good option, I find, is to get gnuplot to create > a PNG file (e.g. using the pngcairo terminal), then load that file > into your GTK window using gdk_pixbuf_new_from_file() or perhaps > cairo_image_surface_create_from_png(). Of course, you don't > get a vector graphic that way. > > I'm not quite sure how a "cairo term" would work. You couldn't > actually pass a cairo drawing context to gnuplot, could you? I'm not a gtk programmer, but there's always Google... which leads me to the plplot project on SourceForge. It seems that plplot is somewhat similar to gnuplot in intent, but the relevant point is that they recently added an external cairo terminal driver "extcairo" that so far as I can tell from the description does exactly what you want. If it works for them, I don't see why it wouldn't work for us. Anyonw have time to check out the code and report back on how the information to open the context is passed? Ethan > With the x11 term, for example, you can say "window <XID>", passing the > X11 ID of the window you want to draw into, in string form. I > don't offhand see what a cairo counterpart would look like. > Here's something I haven't tried, but that might be nice. Since > gnuplot already does SVG, one could get gnuplot to write an SVG > file, create a cairo context using gdk, then call librsvg to read > the SVG file into your cairo context. This would not require any > modifications to gnuplot. > > Allin Cottrell > |
|
From: Allin C. <cot...@wf...> - 2009-09-09 14:22:55
|
On Wed, 9 Sep 2009, Richard Henwood wrote: > On Tue, 2009-09-08 at 09:27 -0700, Ethan Merritt wrote: > > On Tuesday 08 September 2009 01:44:25 Richard Henwood wrote: > > > On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > > > > > > > > I think what Richard was asking is whether the "cairo drawing > > > > context" struct, or "cairo_t", that is used internally by gnuplot > > > > could somehow be exposed programmatically... > > > > > > This is indeed what I am curious about... > > [...] This mode of operation is already supported by the qt, > > tkcanvas, and x11 terminal drivers. You initialize the > > context, invoke gnuplot, and tell it to draw into your > > existing context rather than creating a new one. Of course > > the details are different in each case. > > Ah! This is good news. So presumably if a 'cairo' terminal driver > existed, this would provide me a way to get nice gnuplot plots into my > GTK/cairo application? In the meantime a good option, I find, is to get gnuplot to create a PNG file (e.g. using the pngcairo terminal), then load that file into your GTK window using gdk_pixbuf_new_from_file() or perhaps cairo_image_surface_create_from_png(). Of course, you don't get a vector graphic that way. I'm not quite sure how a "cairo term" would work. You couldn't actually pass a cairo drawing context to gnuplot, could you? With the x11 term, for example, you can say "window <XID>", passing the X11 ID of the window you want to draw into, in string form. I don't offhand see what a cairo counterpart would look like. Here's something I haven't tried, but that might be nice. Since gnuplot already does SVG, one could get gnuplot to write an SVG file, create a cairo context using gdk, then call librsvg to read the SVG file into your cairo context. This would not require any modifications to gnuplot. Allin Cottrell |
|
From: Richard H. <ric...@st...> - 2009-09-09 08:25:36
|
On Tue, 2009-09-08 at 09:27 -0700, Ethan Merritt wrote: > On Tuesday 08 September 2009 01:44:25 Richard Henwood wrote: > > On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > > > > > > I think what Richard was asking is whether the "cairo drawing > > > context" struct, or "cairo_t", that is used internally by gnuplot > > > could somehow be exposed programmatically. But I don't see how > > > this could be done -- seems to me it would require building > > > gnuplot as a library, not a stand-alone executable. > > > > > > > This is indeed what I am curious about. As you comment: if the 'cairo > > drawing context' was exposed, it would then allow gnuplot to behave as a > > library. i.e. if one was writing a cairo widget for a (typically GTK) > > application, one may create a context (cairo_t), pass it to gnuplot > > (along with some commands to plot a graph on it), and then return it to > > the application for display. > > The two halves of your statement do not quite match up. > While I understand wanting to pass gnuplot a context, e.g. a widget in > an external application, I don't see what that has to do with making > gnuplot into a library. This mode of operation is already supported by the > qt, tkcanvas, and x11 terminal drivers. You initialize the context, > invoke gnuplot, and tell it to draw into your existing context rather > than creating a new one. Of course the details are different in each case. > Ah! This is good news. So presumably if a 'cairo' terminal driver existed, this would provide me a way to get nice gnuplot plots into my GTK/cairo application? > > In the first instance I thought I would raise this idea for discussion. > > If it is technically feasible - and within the gnuplot mission - I think > > there is an excellent opportunity to both have a extensive, publication > > quality plotting library available to gtk/cairo application developers - > > and increase usage of gnuplot. > > I personally think that plotting libraries, as opposed to plotting programs, > are not the way to go. That's just my personal opinion, but it is based > on years of programming experience using both approaches. > I don't think I have sufficient experience to comment - and defer to your judgement on this. I will have a poke around with the existing qt/tkcanvas/x11 terminals and see how I get on with them. cheers, Richard -- Scanned by iCritical. |
|
From: Tatsuro M. <tma...@ya...> - 2009-09-09 05:50:44
|
Hello Ethan Merritt Thank you for your reply. Supporting "Volatile Data" in gnuplot 4.4 is very nice for octave users!! Regards Tatsuro (Sorry the previous mail forget to cc. to "gnuplot-beta" <gnu...@li...>. Please ignore that.) --- Ethan Merritt wrote: > On Tuesday 08 September 2009 16:13:19 Tatsuro MATSUOKA wrote: > > Hello > > > > Some discussion had been done the mouse zooming in 2D plot in octave, by which all plotting > command > > and data are sent to gnuplot via pipe. > > > > I explained that the above is only realized in gnuplot 4.3 (cvs) source trees of which are > later than > > 2007-08-31. > > > > To my knowldge, this will be realized the supports of Volatile Data in terms of the gnuplot. > > > > Is my knowledge right > > Yes. Version 4.4 will include everything that was in CVS up to 1 June 2009, > plus all bugfixes applied since then, > plus many but not all of the changes applied to CVS since then. > > The major things that it does not include from current CVS: > mouse-wheel interaction > qt terminal driver > dashed line support in cairo > > Ethan > > > > > > *********** > > Volatile Data > > > > The new command refreshis similar to replotexcept that it uses the previously-stored input > data values > > rather than rereading the input data file.Mouse operations (zoom,rotate)will automatically use > > refreshrather than replotif the input data stream is marked volatile.Piped or in-line data is > > automatically treated as volatile.See refresh,plot datafile volatile. > > *********** > > > > Will "Volatile Data" in gnuplot 4.3 (CVS) be planned to be implemented in the next major > release : Ver > > 4.4.x ? > > > > Regards > > > > Tatsuro > > > > > > > > -------------------------------------- > > Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions > > http://pr.mail.yahoo.co.jp/ec10years/ > > > > > > -- > Ethan A Merritt > Biomolecular Structure Center > University of Washington, Seattle 98195-7742 > -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-09 01:09:44
|
On Tuesday 08 September 2009 16:13:19 Tatsuro MATSUOKA wrote: > Hello > > Some discussion had been done the mouse zooming in 2D plot in octave, by which all plotting command > and data are sent to gnuplot via pipe. > > I explained that the above is only realized in gnuplot 4.3 (cvs) source trees of which are later than > 2007-08-31. > > To my knowldge, this will be realized the supports of Volatile Data in terms of the gnuplot. > > Is my knowledge right Yes. Version 4.4 will include everything that was in CVS up to 1 June 2009, plus all bugfixes applied since then, plus many but not all of the changes applied to CVS since then. The major things that it does not include from current CVS: mouse-wheel interaction qt terminal driver dashed line support in cairo Ethan > > *********** > Volatile Data > > The new command refreshis similar to replotexcept that it uses the previously-stored input data values > rather than rereading the input data file.Mouse operations (zoom,rotate)will automatically use > refreshrather than replotif the input data stream is marked volatile.Piped or in-line data is > automatically treated as volatile.See refresh,plot datafile volatile. > *********** > > Will "Volatile Data" in gnuplot 4.3 (CVS) be planned to be implemented in the next major release : Ver > 4.4.x ? > > Regards > > Tatsuro > > > > -------------------------------------- > Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions > http://pr.mail.yahoo.co.jp/ec10years/ > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |
|
From: Tatsuro M. <tma...@ya...> - 2009-09-08 23:13:34
|
Hello Some discussion had been done the mouse zooming in 2D plot in octave, by which all plotting command and data are sent to gnuplot via pipe. I explained that the above is only realized in gnuplot 4.3 (cvs) source trees of which are later than 2007-08-31. To my knowldge, this will be realized the supports of Volatile Data in terms of the gnuplot. Is my knowledge right *********** Volatile Data The new command refreshis similar to replotexcept that it uses the previously-stored input data values rather than rereading the input data file.Mouse operations (zoom,rotate)will automatically use refreshrather than replotif the input data stream is marked volatile.Piped or in-line data is automatically treated as volatile.See refresh,plot datafile volatile. *********** Will "Volatile Data" in gnuplot 4.3 (CVS) be planned to be implemented in the next major release : Ver 4.4.x ? Regards Tatsuro -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ |
|
From: Ethan M. <merritt@u.washington.edu> - 2009-09-08 16:27:33
|
On Tuesday 08 September 2009 01:44:25 Richard Henwood wrote: > On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > > > > I think what Richard was asking is whether the "cairo drawing > > context" struct, or "cairo_t", that is used internally by gnuplot > > could somehow be exposed programmatically. But I don't see how > > this could be done -- seems to me it would require building > > gnuplot as a library, not a stand-alone executable. > > > > This is indeed what I am curious about. As you comment: if the 'cairo > drawing context' was exposed, it would then allow gnuplot to behave as a > library. i.e. if one was writing a cairo widget for a (typically GTK) > application, one may create a context (cairo_t), pass it to gnuplot > (along with some commands to plot a graph on it), and then return it to > the application for display. The two halves of your statement do not quite match up. While I understand wanting to pass gnuplot a context, e.g. a widget in an external application, I don't see what that has to do with making gnuplot into a library. This mode of operation is already supported by the qt, tkcanvas, and x11 terminal drivers. You initialize the context, invoke gnuplot, and tell it to draw into your existing context rather than creating a new one. Of course the details are different in each case. > In the first instance I thought I would raise this idea for discussion. > If it is technically feasible - and within the gnuplot mission - I think > there is an excellent opportunity to both have a extensive, publication > quality plotting library available to gtk/cairo application developers - > and increase usage of gnuplot. I personally think that plotting libraries, as opposed to plotting programs, are not the way to go. That's just my personal opinion, but it is based on years of programming experience using both approaches. > Any thoughts greatly appreciated. > Richard Ethan |
|
From: Allin C. <cot...@wf...> - 2009-09-08 13:04:34
|
On Tue, 8 Sep 2009, Richard Henwood wrote: > On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > > On Mon, 7 Sep 2009, Ethan Merritt wrote: > > > > > On Monday 07 September 2009, Richard Henwood wrote: > > > > Hi All, > > > > > > > > I've been using Cairo (cairographics.org) a fair bit recently. I have > > > > not found a plotting library which is as mature as gnuplot. > > > > > > > > I understand that the wxWidgets terminal uses cairo. > > > > > > > > Has anyone considered the possibility of exposing the cairo context from > > > > within gnuplot/wxWidgets to the outside world? > > > > > > The development version has two new drivers - pngcairo and pdfcairo, > > > the use the cairo library. Not sure if that's what you meant. > > > Both drivers will be in the version 4.4 release candidate, which I > > > hope we can put out soonish. > > > > I think what Richard was asking is whether the "cairo drawing > > context" struct, or "cairo_t", that is used internally by gnuplot > > could somehow be exposed programmatically. But I don't see how > > this could be done -- seems to me it would require building > > gnuplot as a library, not a stand-alone executable. > > > > This is indeed what I am curious about. As you comment: if the > 'cairo drawing context' was exposed, it would then allow gnuplot > to behave as a library. i.e. if one was writing a cairo widget > for a (typically GTK) application, one may create a context > (cairo_t), pass it to gnuplot (along with some commands to plot > a graph on it), and then return it to the application for > display. I agree this would be very nice, but I'd put the conditionality the other way round: if it were possible to build gnuplot as a library, then it would be feasible to expose the relevant cairo_t via a suitable API. There are many programs that use gnuplot in "slave" mode and having a "libgnuplot" would be very useful in that context. But so far as I know (Ethan can correct me if I'm wrong) this is not on an active TODO list. However, gnuplot's GPVAL* variables, which provide a means of accessing internal data in text form, can be quite helpful if your program functions as a "driver" of gnuplot. Allin Cottrell |
|
From: Tatsuro M. <tma...@ya...> - 2009-09-08 09:43:29
|
Hello gnuplot 4.3 (cvs) cygwin binaries prepared by gcc-4.x.x is updated. Topic pdfcairo and png cairo terminals are supported only on cygwin-1.7.0. (The required libraries are only prepared for the cygwin-1.7) http://www.tatsuromatsuoka.com/gnuplot/Eng/cygbin/ Enjoy!! Tatsuro -------------------------------------- Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions http://pr.mail.yahoo.co.jp/ec10years/ |
|
From: Richard H. <ric...@st...> - 2009-09-08 08:45:26
|
On Mon, 2009-09-07 at 17:49 -0400, Allin Cottrell wrote: > On Mon, 7 Sep 2009, Ethan Merritt wrote: > > > On Monday 07 September 2009, Richard Henwood wrote: > > > Hi All, > > > > > > I've been using Cairo (cairographics.org) a fair bit recently. I have > > > not found a plotting library which is as mature as gnuplot. > > > > > > I understand that the wxWidgets terminal uses cairo. > > > > > > Has anyone considered the possibility of exposing the cairo context from > > > within gnuplot/wxWidgets to the outside world? > > > > The development version has two new drivers - pngcairo and pdfcairo, > > the use the cairo library. Not sure if that's what you meant. > > Both drivers will be in the version 4.4 release candidate, which I > > hope we can put out soonish. > > I think what Richard was asking is whether the "cairo drawing > context" struct, or "cairo_t", that is used internally by gnuplot > could somehow be exposed programmatically. But I don't see how > this could be done -- seems to me it would require building > gnuplot as a library, not a stand-alone executable. > This is indeed what I am curious about. As you comment: if the 'cairo drawing context' was exposed, it would then allow gnuplot to behave as a library. i.e. if one was writing a cairo widget for a (typically GTK) application, one may create a context (cairo_t), pass it to gnuplot (along with some commands to plot a graph on it), and then return it to the application for display. In the first instance I thought I would raise this idea for discussion. If it is technically feasible - and within the gnuplot mission - I think there is an excellent opportunity to both have a extensive, publication quality plotting library available to gtk/cairo application developers - and increase usage of gnuplot. >From a technical standpoint - I would imagine starting with the wxWidgets terminal code would be a 'hacky' way to get something working. Any thoughts greatly appreciated. Richard -- Scanned by iCritical. |
|
From: Allin C. <cot...@wf...> - 2009-09-07 21:49:14
|
On Mon, 7 Sep 2009, Ethan Merritt wrote: > On Monday 07 September 2009, Richard Henwood wrote: > > Hi All, > > > > I've been using Cairo (cairographics.org) a fair bit recently. I have > > not found a plotting library which is as mature as gnuplot. > > > > I understand that the wxWidgets terminal uses cairo. > > > > Has anyone considered the possibility of exposing the cairo context from > > within gnuplot/wxWidgets to the outside world? > > The development version has two new drivers - pngcairo and pdfcairo, > the use the cairo library. Not sure if that's what you meant. > Both drivers will be in the version 4.4 release candidate, which I > hope we can put out soonish. I think what Richard was asking is whether the "cairo drawing context" struct, or "cairo_t", that is used internally by gnuplot could somehow be exposed programmatically. But I don't see how this could be done -- seems to me it would require building gnuplot as a library, not a stand-alone executable. Allin Cottrell |