Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #734 > unrolled thread
| Started by | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| First post | 2011-12-09 16:50 +0100 |
| Last post | 2011-12-15 13:17 -0800 |
| Articles | 8 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
Colour, no gif Dieter Britz <dieterhansbritz@gmail.com> - 2011-12-09 16:50 +0100
Re: Colour, no gif Christoph Bersch <usenet@bersch.net> - 2011-12-09 16:28 +0100
Re: Colour, no gif sfeam <sfeam@users.sourceforge.net> - 2011-12-09 15:57 -0800
Re: Colour, no gif Dieter Britz <dieterhansbritz@gmail.com> - 2011-12-12 11:07 +0100
Re: Colour, no gif Dieter Britz <dieterhansbritz@gmail.com> - 2011-12-14 15:06 +0100
Re: Colour, no gif Christoph Bersch <usenet@bersch.net> - 2011-12-14 14:58 +0100
Re: Colour, no gif Dieter Britz <dieterhansbritz@gmail.com> - 2011-12-15 10:44 +0100
Re: Colour, no gif sfeam <sfeam@users.sourceforge.net> - 2011-12-15 13:17 -0800
| From | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2011-12-09 16:50 +0100 |
| Subject | Colour, no gif |
| Message-ID | <jbt85l$3r6$1@dont-email.me> |
Until recently I have used the terminal type "gif" which allowed me a coloured canvas. A gnuplot update has now removed gif from the terminal types. Can I have a coloured canvas with postsctipt enh eps, or what terminal type is there that will allow me this, and how do I specify the colour? I have tried postscript enh eps, adding rgb "#010101", but gnuplot says it doesn't know rgb. -- Dieter Britz (dieterhansbritz<at>gmail.com)
[toc] | [next] | [standalone]
| From | Christoph Bersch <usenet@bersch.net> |
|---|---|
| Date | 2011-12-09 16:28 +0100 |
| Message-ID | <jbt9eu$4dc$1@gwdu112.gwdg.de> |
| In reply to | #734 |
On 09.12.2011 16:50, Dieter Britz wrote: > Until recently I have used the terminal type "gif" which allowed me > a coloured canvas. A gnuplot update has now removed gif from the > terminal types. The current CVS version still supports GIF, so you must be more specific to which version you updated, where you got the update from, on which platform etc. > Can I have a coloured canvas with postsctipt enh eps, or what > terminal type is there that will allow me this, and how do I specify > the colour? I have tried postscript enh eps, adding rgb "#010101", > but gnuplot says it doesn't know rgb. In the CVS version there is a terminal option 'background': set terminal postscript enh eps background rgb "#010101" For other terminals or gnuplot versions you can use e.g. (all on one line, don't know if there is a shorter version of this): set object rectangle back from screen 0, screen 0 to screen 0.5, screen 1 fc rgb "#550000" fillstyle solid 1.0 noborder Christoph
[toc] | [prev] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2011-12-09 15:57 -0800 |
| Message-ID | <jbu78o$4ng$1@dont-email.me> |
| In reply to | #734 |
Dieter Britz wrote: > Until recently I have used the terminal type "gif" which allowed me > a coloured canvas. A gnuplot update has now removed gif from the > terminal types. For the last 10+ years, gnuplot has generated gif output through the external library libgd. This has not changed on the gnuplot end, so I am guessing this means you no longer have libgd installed. > Can I have a coloured canvas with postsctipt enh eps, or what > terminal type is there that will allow me this, and how do I specify > the colour? I have tried postscript enh eps, adding rgb "#010101", > but gnuplot says it doesn't know rgb. In the current version (4.4) the most general way to do this is to specify a filled rectangle that exactly fills the screen, or the graph, and is placed behind everything else. This works for all terminals that support filled rectangles. Example: http://gnuplot.sourceforge.net/demo/rectangle.html In the next release most terminals will support a "background" keyword that does this more cleanly. .
[toc] | [prev] | [next] | [standalone]
| From | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2011-12-12 11:07 +0100 |
| Message-ID | <jc4h6l$d6g$1@dont-email.me> |
| In reply to | #736 |
sfeam wrote: > Dieter Britz wrote: > >> Until recently I have used the terminal type "gif" which allowed me >> a coloured canvas. A gnuplot update has now removed gif from the >> terminal types. > > For the last 10+ years, gnuplot has generated gif output through the > external library libgd. This has not changed on the gnuplot end, so > I am guessing this means you no longer have libgd installed. This makes sense - I have had things disappear on me before. How do I check whether I have it or not? I work under Suse Linux. -- Dieter Britz (dieterhansbritz<at>gmail.com)
[toc] | [prev] | [next] | [standalone]
| From | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2011-12-14 15:06 +0100 |
| Message-ID | <jca80d$ff1$1@dont-email.me> |
| In reply to | #736 |
sfeam wrote: > Dieter Britz wrote: > >> Until recently I have used the terminal type "gif" which allowed me >> a coloured canvas. A gnuplot update has now removed gif from the >> terminal types. > > For the last 10+ years, gnuplot has generated gif output through the > external library libgd. This has not changed on the gnuplot end, so > I am guessing this means you no longer have libgd installed. > >> Can I have a coloured canvas with postsctipt enh eps, or what >> terminal type is there that will allow me this, and how do I specify >> the colour? I have tried postscript enh eps, adding rgb "#010101", >> but gnuplot says it doesn't know rgb. > > In the current version (4.4) the most general way to do this is to > specify a filled rectangle that exactly fills the screen, or the > graph, and is placed behind everything else. This works for all > terminals that support filled rectangles. > > Example: > http://gnuplot.sourceforge.net/demo/rectangle.html > > In the next release most terminals will support a "background" keyword > that does this more cleanly. Thanks, that helped. I have now solved the problem by letting gnuplot output an eps file which I then convert to jpg by hand using the Gimp. See the results here: http://www.dieterbritz.dk/fusweb/stats.html -- Dieter Britz (dieterhansbritz<at>gmail.com)
[toc] | [prev] | [next] | [standalone]
| From | Christoph Bersch <usenet@bersch.net> |
|---|---|
| Date | 2011-12-14 14:58 +0100 |
| Message-ID | <jcaa2l$2per$1@gwdu112.gwdg.de> |
| In reply to | #747 |
On 14.12.2011 15:06, Dieter Britz wrote: > > Thanks, that helped. I have now solved the problem by letting gnuplot > output an eps file which I then convert to jpg by hand using the Gimp. > See the results here: http://www.dieterbritz.dk/fusweb/stats.html Well, this is a rather ugly workaround. If you go this way, for the kind of pictures you showed it is better to use PNG rather than JPEG. Alternatively, do you have the pngcairo terminal? To fix your gnuplot: Which SuSE version do you have? From where do you have gnuplot? Christoph
[toc] | [prev] | [next] | [standalone]
| From | Dieter Britz <dieterhansbritz@gmail.com> |
|---|---|
| Date | 2011-12-15 10:44 +0100 |
| Message-ID | <jccd0q$8p6$1@dont-email.me> |
| In reply to | #748 |
Christoph Bersch wrote: > On 14.12.2011 15:06, Dieter Britz wrote: >> >> Thanks, that helped. I have now solved the problem by letting gnuplot >> output an eps file which I then convert to jpg by hand using the Gimp. >> See the results here: http://www.dieterbritz.dk/fusweb/stats.html > > Well, this is a rather ugly workaround. If you go this way, for the kind > of pictures you showed it is better to use PNG rather than JPEG. > Alternatively, do you have the pngcairo terminal? > > To fix your gnuplot: Which SuSE version do you have? From where do you > have gnuplot? > > Christoph You are asking an embarrassing question... I have, at work, Open Suse 10.2. I know I should upgrade but it would mean re-installing some programs, such as Fortran, etc, and as long as it's working, I am not keen on that. I did upgrade gnuplot a while ago but it doesn't let me use gif or png, hence this awkward way of doing it. The particular application here is something that doesn't change very often (cold fusion is not very active these days and there are only a few papers per year, none in 2011), so I can put up with the manual operations. -- Dieter Britz (dieterhansbritz<at>gmail.com)
[toc] | [prev] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2011-12-15 13:17 -0800 |
| Message-ID | <jcdo5g$j7$1@dont-email.me> |
| In reply to | #750 |
Dieter Britz wrote: > Christoph Bersch wrote: > >> On 14.12.2011 15:06, Dieter Britz wrote: >>> >>> Thanks, that helped. I have now solved the problem by letting gnuplot >>> output an eps file which I then convert to jpg by hand using the Gimp. >>> See the results here: http://www.dieterbritz.dk/fusweb/stats.html >> >> Well, this is a rather ugly workaround. If you go this way, for the kind >> of pictures you showed it is better to use PNG rather than JPEG. >> Alternatively, do you have the pngcairo terminal? >> >> To fix your gnuplot: Which SuSE version do you have? From where do you >> have gnuplot? >> >> Christoph > > You are asking an embarrassing question... I have, at work, Open Suse > 10.2. I know I should upgrade but it would mean re-installing some > programs, such as Fortran, etc, and as long as it's working, I am not keen > on that. I did upgrade gnuplot a while ago but it doesn't let me use gif > or png, hence this awkward way of doing it. The usual cause of this problem (lack of support for a particular terminal) is that at the time gnuplot was configured and built the "development" package for the corresponding support library was not present. To get png support you could rebuild gnuplot yourself from source, first making sure that libgd2-devel is installed on your machine. Or, as Christoph Bersch pointed out, you could also get png support by installed the pango+cairo development libraries. But that involves many extra packages compared to libgd, which is relatively self-contained. Ethan
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web