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

Home » Public Forums » archive » Re: Z-Graphics Buffer Resolution
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
Re: Z-Graphics Buffer Resolution [message #73167] Thu, 28 October 2010 11:15
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Thu, 28 Oct 2010 10:24:14 -0600, David Fanning wrote:

> Heinz Stege writes:
>
>> I'm not sure, if I'm getting something wrong. You can change the
>> character size with the device procedure:
>> device,set_character_size=[x_ch_size,y_ch_size]
>
> I should point out, too, that those of us with aging
> eyesight are well familiar with this method of setting
> the character size. You will find this command in almost
> of our IDL start-up files. :-)
>
> Cheers,
>
> David
>
> P.S. Let's just say when I see a monitor size larger
> than about 1280, I know that person is under 40. :-)


Yes, I know. From my very own experiences. In the beginning of this
aging process it helps to increase the character size. But then, let
us say 5 years later, there is no other way but eye glases. ;-(

If you change the character size by a device command within your
start-up file, please let me warn you. Don't forget to do it for
*both* devices, the win- or x-device *and* the z-device. ;-)

Cheers, Heinz
Re: Z-Graphics Buffer Resolution [message #73168 is a reply to message #73167] Thu, 28 October 2010 10:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> At these prices, and with a good optometrist, you can afford to
> try a few
>
> http://www.zennioptical.com/

I'll have to check it out. I play tennis with a guy
in our regular Wednesday night group, and he probably
hasn't won three sets in two years, playing with any
of us. Since September no one moans when you have to play
with him. He's been terrific. The difference? He got
glasses!

Maybe this is the answer to keeping up with those
young hotshots!

Cheers,

David

P.S. Let's just say staring at a computer all day isn't
exactly doing wonders for my far vision, at night, under
lights, with balls coming at my head in excess of 100 mph. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73169 is a reply to message #73168] Thu, 28 October 2010 09:38 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.2733519b29c732bc989819@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:

> P.S. Let's just say when I see a monitor size larger
> than about 1280, I know that person is under 40. :-)

IDL> help, /device
Current graphics device: X
Display Depth, Size: 24 bits, (2560,1578)

You just have to find the right pair of workstation glasses
(and view Word documents at 150%).

At these prices, and with a good optometrist, you can afford to
try a few

http://www.zennioptical.com/

Ken
Re: Z-Graphics Buffer Resolution [message #73170 is a reply to message #73169] Thu, 28 October 2010 09:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Heinz Stege writes:

> I'm not sure, if I'm getting something wrong. You can change the
> character size with the device procedure:
> device,set_character_size=[x_ch_size,y_ch_size]

I should point out, too, that those of us with aging
eyesight are well familiar with this method of setting
the character size. You will find this command in almost
of our IDL start-up files. :-)

Cheers,

David

P.S. Let's just say when I see a monitor size larger
than about 1280, I know that person is under 40. :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73171 is a reply to message #73170] Thu, 28 October 2010 09:19 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Heinz Stege writes:

> I'm not sure, if I'm getting something wrong. You can change the
> character size with the device procedure:
> device,set_character_size=[x_ch_size,y_ch_size]
>
> Don't know, if it helps.

Yes, of course, but this is not the Z-graphics buffer
issue we are talking about. The *default* character
size is different in the Z-buffer than it is on your
display. If you *set* the character size in your
graphics commands with Charsize, all is well.
Charsize uses the character size set with the
Device command above as its Charsize=1.0 character
size.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73172 is a reply to message #73171] Thu, 28 October 2010 09:07 Go to previous message
Heinz Stege is currently offline  Heinz Stege
Messages: 189
Registered: January 2003
Senior Member
On Thu, 28 Oct 2010 09:14:13 -0600, David Fanning wrote:

> Kenneth P. Bowman writes:
>
>> Isn't this due to differences for the default values of
>> !D.X_CH_SIZE and !D.Y_CH_SIZE for different devices?
>
> Well, these are system variables, so they wouldn't change,

I'm not sure, if I'm getting something wrong. You can change the
character size with the device procedure:
device,set_character_size=[x_ch_size,y_ch_size]

Don't know, if it helps.

Heinz
Re: Z-Graphics Buffer Resolution [message #73173 is a reply to message #73172] Thu, 28 October 2010 08:37 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>
> David Fanning writes:
>
>> And display that, I get three small thumbnail images instead
>> of the one large image I want! I have NO idea at the moment
>> what the heck is going on here! :-(
>
> Need I mention that the Z-graphics buffer help is gone
> from IDL 8? :-(

Ok, sorted it out, once I found the Help files in IDL 7.
Very, very neat! :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73174 is a reply to message #73173] Thu, 28 October 2010 08:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> And display that, I get three small thumbnail images instead
> of the one large image I want! I have NO idea at the moment
> what the heck is going on here! :-(

Need I mention that the Z-graphics buffer help is gone
from IDL 8? :-(

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73175 is a reply to message #73174] Thu, 28 October 2010 08:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> Isn't this due to differences for the default values of
> !D.X_CH_SIZE and !D.Y_CH_SIZE for different devices?

Well, these are system variables, so they wouldn't change,
but there *is* something about the character size in the
Z-buffer that is different. A "different" default character
size, it seems to me. You can solve the problem either by
explicitly setting the CHARSIZE keyword (so you use those
system variables above), or by explicitly setting the plot
margins, so the plot region doesn't move around in character
size units.

I'm having some EXTREMELY interesting fun with the Z-buffer
this morning. If I set the buffer to use decomposed color,
and I write three orthogonal images into the buffer with
different color tables, then take a "picture" of the result:

picture = TVRD(True=3)

And display that, I get three small thumbnail images instead
of the one large image I want! I have NO idea at the moment
what the heck is going on here! :-(

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Z-Graphics Buffer Resolution [message #73176 is a reply to message #73175] Thu, 28 October 2010 07:52 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.2732370f498ced4a989812@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:

> Folks,
>
> I am looking for someone with a better memory than mine.
> I've run into that old problem where the character size
> is different in the Z-graphics buffer than it is on the
> display, so that things just don't QUITE line up when
> you want them to. I would have thought I would have
> written an article about this, but apparently not.
> Maybe I'm mis-remembering what actually causes the problem.
> In any case, it seems the plot margins are not completely
> aligned.

Isn't this due to differences for the default values of
!D.X_CH_SIZE and !D.Y_CH_SIZE for different devices?

Ken Bowman
Re: Z-Graphics Buffer Resolution [message #73187 is a reply to message #73176] Wed, 27 October 2010 13:37 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I am looking for someone with a better memory than mine.
> I've run into that old problem where the character size
> is different in the Z-graphics buffer than it is on the
> display, so that things just don't QUITE line up when
> you want them to. I would have thought I would have
> written an article about this, but apparently not.
> Maybe I'm mis-remembering what actually causes the problem.
> In any case, it seems the plot margins are not completely
> aligned.

Never mind. I found the information I was looking for
in my book, of all places. :-(

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: the "real" screen size
Next Topic: real screen size. multiple monitors.

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

Current Time: Wed Oct 08 19:42:52 PDT 2025

Total time taken to generate the page: 0.00786 seconds