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

Home » Public Forums » archive » Plotting Axes Over Image.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Plotting Axes Over Image. [message #15583] Mon, 31 May 1999 00:00 Go to previous message
Stephen Plumb is currently offline  Stephen Plumb
Messages: 4
Registered: February 1999
Junior Member
Greetings all

I have an image displayed in a window (say window1) and I would like to
calibrate it by inserting some sort of x and y axes. The Following code is
what I have tried so far:

!p.position =[0,1,0,1]
plot,[findgen(1024)],[findgen(768)],xrange=[0,1024],yrange=[ 0,768]

tvscl,image
axis,0,0,yaxis=0

The problem is that the axes are offset from the window edges. Ideally I
would like the x Axis to go straight through the centre of the image (ie y=
768/2), from left edge to right edge, and the y axix to go anywhere as long
as it spans the full height of the image. Does anyone have any ideas?

Kind Regards
Stephen
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Appending new data to HDF
Next Topic: IDL and 3D scattered data

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

Current Time: Sun Oct 12 13:16:04 PDT 2025

Total time taken to generate the page: 0.54640 seconds