help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print question


From: Søren Hauberg
Subject: Re: print question
Date: Tue, 26 Jun 2007 16:08:31 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Hi,
First of all, what is "pcolor"? I assume it's a function you've written that displays an image... Anyway, I don't quite understand your problem. Is the image interpolated when shown on screen or when you look at the saved image with a pdf viewer? On my system gnuplot doesn't do any interpolation when displaying images. If it is the pdf that's interpolated then I guess it's due to your PDF viewer. Why not save the image to disc as a PNG (or similar) file? Vector graphics (like PDF) is just awful for images.

Søren

Daniel Oberhoff skrev:
Hi all,

I am running a self compiled octave 2.9.12 together with an equally self compiled gnuplot 4.3. I make a plot of a small gaussian image patch like this:

[x,y]=meshgrid(-2:2,-2:2);
g=exp(-(x.*x+y.*y)/8);
pcolor(g);

and then print it like this:

print -dpdf gausmask_octave.pdf

curiously the print receives some interpolation, fuzzing up the originally blocky image, which is not what I want, because this is for a paper and I want to show what I actually use. Is there a way to switch this smoothing off?

btw, is it a known bug in octave 2.9.12/gnuplot 4.3 that the hold setting is always on, i.e. I always have to clf before a new plot and hold on/off has no measurable effect?

anyhow, love the image capability brought out in gnuplot now.

Best

Daniel
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]