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

Home » Public Forums » archive » Re: PV-WAVE and x-axis annotations
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: PV-WAVE and x-axis annotations [message #3680] Mon, 06 March 1995 06:20
mfishler is currently offline  mfishler
Messages: 5
Registered: October 1994
Junior Member
In article <3j1m4i$fkq@elna.ethz.ch>, csillag@iem.ee.ethz.ch (Andre Csillaghy) writes:
> I cannot get PV-WAVE to write coorectly (with the PostScript driver)
> an x-axis annotation with exponents. The number in the exponent
> is touching the axis so that it looks ugly. I tried so many settings of
> margin, position, etc that I am getting sick and tired of such pv-wave imperfections (in my opinion it should be done right without even having to change any system variable).
>
> So two questions:
>
> 1- How can I do it right ?
> 2- Does that problem exist in IDL ?
>

Can't help with Q#2, but for Q#1 here are a couple of ideas:
One option (perhaps not ideal) would be to prepend a carriage return ('!C')
to your xaxis annotation, thereby shifting the entire annotation down away from
the axis. Another possibility (probably even less desirable) would be to use
XYOUTS to position the xaxis annotation explicitly instead of having PLOT do
it for you.

Take your pick. Enjoy.
==Matthew

--
+---------+----------------------------------------+-------- --------------+
| (_|_ | M a t t h e w G. F i s h l e r | |
| ___ | The Johns Hopkins School of Medicine | "It is a miracle |
| (_) ) | 720 Rutland Ave --- 701 Traylor Bldg | that curiosity |
| _ | Baltimore, MD 21205 | survives formal |
| (_ | tel:(410)955-0077 fax:(410)955-0549 | education." |
| (_ | e-mail: mfishler@bme.jhu.edu | --Albert Einstein |
+---------+----------------------------------------+-------- --------------+
Re: PV-WAVE and x-axis annotations [message #3724 is a reply to message #3680] Wed, 01 March 1995 15:53 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <3j1m4i$fkq@elna.ethz.ch>, csillag@iem.ee.ethz.ch (Andre Csillaghy) writes:
> I cannot get PV-WAVE to write coorectly (with the PostScript driver)
> an x-axis annotation with exponents. The number in the exponent
> is touching the axis so that it looks ugly. I tried so many settings of
> margin, position, etc that I am getting sick and tired of such pv-wave imperfections (in my opinion it should be done right without even having to change any system variable).
>
> So two questions:
>
> 1- How can I do it right ?
> 2- Does that problem exist in IDL ?

Those are hard questions to answer without an example of a program which looks
bad in PV-WAVE. However, I just did the following in IDL

; IDL Version 3.6.1a (vms alpha)
; Journal File for CARS3::RIVERS
; Working directory: USER_DISK:[RIVERS.COMMITTEES]
; Date: Wed Mar 1 17:21:00 1995

y = 1. + findgen(1000)
x = 1000 * y
set_plot, 'ps'
device, xsize=10, ysize=7, /inch, /land
!p.font=0
plot_io, x, y
device, /close
$print idl.ps

With this example, the X axis exponents do not touch the X axis, although they
are close. Note that this was done with the default Postscript hardware font
and font size (!p.font=0).

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Q]: CALL_EXTERNAL on SGI (Indigo 2, IRIX 5.2)
Next Topic: Cursor Keys don't work for PV-WAVE CL v5.0 on DEC ALPHA OSF/1 v3.0

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

Current Time: Fri Oct 10 20:02:44 PDT 2025

Total time taken to generate the page: 0.39763 seconds