comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Thick keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Thick keyword [message #13996] Tue, 12 January 1999 00:00 Go to next message
Vapuser is currently offline  Vapuser
Messages: 63
Registered: November 1998
Member
This is for a { mipseb IRIX unix 5.1.1 Jul 20 1998}

Is it my imagination, or does the effect one gets in line plots using
'thick' seem to quantized in integers, so that thick=1 = thick=1.5 =
thick=1.999, but thick=2 is different?

Anyone else getting these results?

whd
Re: Thick keyword [message #14030 is a reply to message #13996] Tue, 19 January 1999 00:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
Are you talking about screen or postscript output? On my machine,
screen graphics seem to behave as though the thick value is rounded to
the nearest integer, while postscript output with real thick values
creates lines with proportional thicknesses (according to CorelDraw,
after importing):

thick line weight (inches)
0.2 .00129
0.4 .00207
0.6 .00286
0.8 .00365
etc...

Peter Clinch wrote:
>
> wmc@bas.ac.uk wrote:
>>
>> Vapuser <vapuser@catspaw.jpl.nasa.gov> wrote:
>>> Is it my imagination, or does the effect one gets in line plots using
>>> 'thick' seem to quantized in integers, so that thick=1 = thick=1.5 =
>>> thick=1.999, but thick=2 is different?
>>
>> What were you expecting? How can IDL draw fractions of a pixel?
>
> Anti aliasing, I'd have thought.
>
> Pete.
> --
> Peter Clinch Dundee University & Teaching Hospitals
> Tel 44 1382 660111 ext. 33637 Medical Physics, Ninewells Hospital
> Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
> net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
Re: Thick keyword [message #14051 is a reply to message #13996] Mon, 18 January 1999 00:00 Go to previous message
Peter Clinch is currently offline  Peter Clinch
Messages: 98
Registered: April 1996
Member
wmc@bas.ac.uk wrote:
>
> Vapuser <vapuser@catspaw.jpl.nasa.gov> wrote:
>> Is it my imagination, or does the effect one gets in line plots using
>> 'thick' seem to quantized in integers, so that thick=1 = thick=1.5 =
>> thick=1.999, but thick=2 is different?
>
> What were you expecting? How can IDL draw fractions of a pixel?

Anti aliasing, I'd have thought.

Pete.
--
Peter Clinch Dundee University & Teaching Hospitals
Tel 44 1382 660111 ext. 33637 Medical Physics, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
Re: Thick keyword [message #14053 is a reply to message #13996] Mon, 18 January 1999 00:00 Go to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
Vapuser <vapuser@catspaw.jpl.nasa.gov> wrote:
> Is it my imagination, or does the effect one gets in line plots using
> 'thick' seem to quantized in integers, so that thick=1 = thick=1.5 =
> thick=1.999, but thick=2 is different?

What were you expecting? How can IDL draw fractions of a pixel?

-William

--
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
Re: Thick keyword [message #14068 is a reply to message #13996] Fri, 15 January 1999 00:00 Go to previous message
Joe[2] is currently offline  Joe[2]
Messages: 11
Registered: May 1998
Junior Member
> This is for a { mipseb IRIX unix 5.1.1 Jul 20 1998}
>
> Is it my imagination, or does the effect one gets in line plots using
> 'thick' seem to quantized in integers, so that thick=1 = thick=1.5 =
> thick=1.999, but thick=2 is different?
>
> Anyone else getting these results?


That does seem to be what happens on my hardware (PC) too.
I can't recall whether it is also true for output to a printer. You
may appear to have fine control over the line thickness on a printer
because the native units (or pixels/texels) are so much smaller.
But it is probably still quantized.

Yet another problem in developing a WYSIWYG interface for
IDL graphics.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unknown error
Next Topic: TNMIN, IDL function minimizer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:10:23 PDT 2025

Total time taken to generate the page: 0.39909 seconds