Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Images in postscript terminal

2 views
Skip to first unread message

xefaso

unread,
Jun 5, 2008, 10:51:08 AM6/5/08
to
The following code generates (gnuplot 4.3) a smooth density plot:

set terminal postscript eps size 12cm, 8cm
set out 'out.eps'
plot '-' w image
0.1 0.9 0.2
0.3 0.9 0.4
0.5 0.9 0.6
0.7 0.9 0.8
0.9 0.9 1.0
0.1 0.7 0.16
0.3 0.7 0.32
0.5 0.7 0.48
0.7 0.7 0.64
0.9 0.7 0.8
0.1 0.5 0.12
0.3 0.5 0.24
0.5 0.5 0.36
0.7 0.5 0.48
0.9 0.5 0.6
0.1 0.3 0.08
0.3 0.3 0.16
0.5 0.3 0.24
0.7 0.3 0.32
0.9 0.3 0.4
0.1 0.1 0.04
0.3 0.1 0.08
0.5 0.1 0.12
0.7 0.1 0.16
0.9 0.1 0.2


But when I set terminal to png or gif, the image looks discrete. Is it
possible to obtain in Postscript the same behavior as in the other
terminals?

Thanks.

mer...@chauvet.bmsc.washington.edu

unread,
Jun 5, 2008, 4:41:40 PM6/5/08
to
In article <3a3a766f-d868-4abe...@k13g2000hse.googlegroups.com>,

xefaso <xef...@terra.es> wrote:
>The following code generates (gnuplot 4.3) a smooth density plot:

As tested here, the plots from "post eps color" "png" and "wxt" are
essentially identical. Could you please further explain what is the
difference you see? Perhaps you could post the output *.eps plot
somewhere?


>set terminal postscript eps size 12cm, 8cm
>set out 'out.eps'
>plot '-' w image
>

>But when I set terminal to png or gif, the image looks discrete. Is it
>possible to obtain in Postscript the same behavior as in the other
>terminals?
>
>Thanks.
>


--
Ethan A Merritt

xefaso

unread,
Jun 6, 2008, 12:37:32 PM6/6/08
to

> As tested here, the plots from "post eps color" "png" and "wxt" are
> essentially identical. Could you please further explain what is the
> difference you see? Perhaps you could post the output *.eps plot
> somewhere?

You are right. By default, the eps viewer in ubuntu is evince, which
renders the eps file as shown in this screen capture:

http://www.telefonica.net/web2/biomates/maxima/evince.png

but when I open the same file with ghostview, I get what I was asking
for:

http://www.telefonica.net/web2/biomates/maxima/ghostview.png

Sorry for the noise; gnuplot was innocent.

Thanks for your answer; it helped me to look at the right direction.

Mario.

0 new messages