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

Home » Public Forums » archive » Re: Plotting with both xstyle=1 and 4
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: Plotting with both xstyle=1 and 4 [message #3111] Tue, 15 November 1994 12:29
mark_cadwell is currently offline  mark_cadwell
Messages: 10
Registered: February 1994
Junior Member
>
>> I want to plot something but need to have the exact xrange = [-.3, .3]
>> but I do not want any axes plotted.
>> plot,x,y,xrange=[-.3,.3],xstyle=4,ystyle=4
>> anyone know how to forces the xrange without an axis being plotted?
>


Use XSTYLE=13. It means no box around the plot, no axes drawn, and
exact value ranges.

Mark

--
----------------------------------
mark_cadwell@qmail4.trw.sp.com
Re: Plotting with both xstyle=1 and 4 [message #3120 is a reply to message #3111] Mon, 14 November 1994 08:39 Go to previous message
lynch is currently offline  lynch
Messages: 5
Registered: August 1994
Junior Member
In article <3a7ut9$7pc@ra.nrl.navy.mil> nicholas@uap.nrl.navy.mil (Nicholas) writes:
> From: nicholas@uap.nrl.navy.mil (Nicholas)
> Subject: Plotting with both xstyle=1 and 4
> Date: 14 Nov 1994 15:14:48 GMT

> I want to plot something but need to have the exact xrange = [-.3, .3]
> but I do not want any axes plotted.
> plot,x,y,xrange=[-.3,.3],xstyle=4,ystyle=4
> anyone know how to forces the xrange without an axis being plotted?

> ------------------------------------------------------------ ------------
> -----
> Andrew Nicholas
> CPI onsite at Naval Research Lab
> Code : 7640
> (202) 767-9452 voice
> (202) 404-8090 fax
> nicholas@uap.nrl.navy.mil
> ------------------------------------------------------------ ------------
> -----
The *style keywords are set bitwise, so if you want 1 and 4, you set them
to 5 (in binary: 0101=4+1=5).
************************************************************ ****************
David Lynch e-mail:
Global Science and Technology lynch@gst.gsfc.nasa.gov
6411 Ivy Lane Suite 610 lynch@stars.gsfc.nasa.gov
Greenbelt MD. 20770
Phone STARS::LYNCH
(301) 474-9696
************************************************************ ****************
Re: Plotting with both xstyle=1 and 4 [message #3122 is a reply to message #3120] Mon, 14 November 1994 12:54 Go to previous message
Geoff.Sobering is currently offline  Geoff.Sobering
Messages: 14
Registered: June 1994
Junior Member
In article <3a7ut9$7pc@ra.nrl.navy.mil>
nicholas@uap.nrl.navy.mil (Nicholas) writes:

> I want to plot something but need to have the exact xrange = [-.3, .3]
> but I do not want any axes plotted.
> plot,x,y,xrange=[-.3,.3],xstyle=4,ystyle=4
> anyone know how to forces the xrange without an axis being plotted?

Easy, just add up the style attributes you want (they're each a bit):

plot,x,y,xrange=[-.3,.3],xstyle=4+1,ystyle=4
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: X Display mysteriously changed...
Next Topic: Postscript dump to a Laserwriter

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

Current Time: Wed Oct 08 19:18:24 PDT 2025

Total time taken to generate the page: 0.00519 seconds