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

Home » Public Forums » archive » Re: Updates to Markwardt Library
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Updates to Markwardt Library [message #78835 is a reply to message #78834] Wed, 21 December 2011 19:56 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> Dang, it's a tough crowd in here tonight :-)

I guess! :-)

I was curious about your PXPERFECT routine, because
I've had my own struggles getting PostScript output
to look like what is on the display. I just ran a
test.

I compared the output of this command:

cgplot, cgdemodata(1), xtitle='Time (Seconds)',
ytitle='Signal Strength', $
position=[0.125, 0.125, 0.95, 0.85], $
title='Experiment 10A3B', output='test.ps'

With this (I think I did this correctly):

thisDevice = !D.Name
ps_extra = pxperfect(/landscape, thick_factor=tf)
set_plot, 'ps'
device, _extra=ps_extra
cgplot, cgdemodata(1), xtitle='Time (Seconds)',
ytitle='Signal Strength', $
position=[0.125, 0.125, 0.95, 0.85], $
title='Experiment 10A3B', thick=tf
device, /close
set_plot, thisDevice

These commands should be duplicating what I would see
in a normal 640 by 512 graphics window:

cgDisplay, 640, 512

I see almost no difference in the character size,
interestingly enough. But I do notice that your
plot is a dfferent size than mine is.

If I print and measure my plot, it is 20x14cm. Your
plot is 18.5x13. These ratios are 0.7 and 0.702.
The ratio of the window is 512/640 = 0.8. Are we
both wrong? :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: mpfit question
Next Topic: Problem with the astron database on Mac OS X

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

Current Time: Thu Oct 09 21:04:55 PDT 2025

Total time taken to generate the page: 0.00667 seconds