Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: A whine abo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 5414 of 6457
Post > Topic >>

Re: A whine about default device settings

by "Kenneth P. Bowman" <k-bowman@[EMAIL PROTECTED] > Feb 11, 2008 at 12:34 PM

In article 
<c2b95dea-5ffe-403d-9e5e-7851aed78324@[EMAIL PROTECTED]
>,
 Bob Crawford <Snowman42@[EMAIL PROTECTED]
> wrote:

> On Feb 9, 4:42 pm, "Kenneth P. Bowman" <k-bow...@[EMAIL PROTECTED]
> wrote:
> > The new 24-bit Z-buffer device is nice for generating graphics on a
> > device without a display, as is common with servers, for example.  It
is
> > easier to configure and use than Xvfb, for example.
> >
> > Unfortunately, some of the default device settings are different
between
> > the Z-buffer device and the X-Windows device.  (I haven't checked the
> > WIN device because I don't have a Windows machine).
> >
> > IDL> window, xsize=1024, ysize=768
> > IDL> help, !d, /str
> > ** Structure !DEVICE, 17 tags, length=84, data length=84:
> >    NAME            STRING    'X'
> >    X_CH_SIZE       LONG                 6
> >    Y_CH_SIZE       LONG                10
> > IDL> set_plot, 'z'
> > IDL> device, set_resolution = [1024, 768], set_pixel_depth = 24
> > IDL> help, !d, /str
> > ** Structure !DEVICE, 17 tags, length=84, data length=84:
> >    NAME            STRING    'Z'
> >    X_CH_SIZE       LONG                 8
> >    Y_CH_SIZE       LONG                12
> >
> 
> Win (note: v6.4) values:
> 
> IDL> window, xsize=1024, ysize=768
> IDL> help, !d, /str
> ** Structure !DEVICE, 17 tags, length=84, data length=84:
>    NAME            STRING    'WIN'
>    X_CH_SIZE       LONG                 7
>    Y_CH_SIZE       LONG                10
>    X_PX_CM         FLOAT           32.0000
>    Y_PX_CM         FLOAT           32.0000
> 
> 
> Fun-wow! :D

Oh good, the X, Z, and WIN devices all have different default character 
sizes and pixels per centimeter.

Ken
 




 7 Posts in Topic:
A whine about default device settings
"Kenneth P. Bowman&q  2008-02-09 15:42:01 
Re: A whine about default device settings
David Fanning <news@[E  2008-02-10 12:43:03 
Re: A whine about default device settings
"Kenneth P. Bowman&q  2008-02-10 21:18:26 
Re: A whine about default device settings
Craig Markwardt <craig  2008-02-11 08:51:50 
Re: A whine about default device settings
Bob Crawford <Snowman4  2008-02-11 08:59:08 
Re: A whine about default device settings
"Kenneth P. Bowman&q  2008-02-11 12:34:39 
Re: A whine about default device settings
Mike <Michael.Miller5@  2008-02-12 07:24:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:13:09 CST 2008.