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

Home » Public Forums » archive » Re: Image scrolling, displaying axes from outside the visible window
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: Image scrolling, displaying axes from outside the visible window [message #31601 is a reply to message #31599] Thu, 01 August 2002 01:10 Go to previous messageGo to previous message
fahruz is currently offline  fahruz
Messages: 3
Registered: August 2002
Junior Member
>> I am currently trying to implement some "artifical" scrolling solution
>> in an image window enclosed by 4 axes and wondered why I could
>> perfectly display an image (which is than the window) with its x and y
>> coordinates having negative values (and thus having its origin outside
>> the window) so that it shows only partially, whereas axes can only be
>> displayed within the window frame invariably even if one tries to plot
>> with a position vector containing negative values.
>
> What!? I don't think so. But I have a very poor
> idea of what you are trying to do from your
> description. Can you give an example?

Okay, sorry for my poor phrasing.
Simply put: I would like to display a coordinate system with its
origin outside the visible window when using negative values in the
position vector.
For example:

IDL> window, /free
IDL> x=findgen(200)*0.1
IDL> plot, x, cos(x), /device, position=[-90,-90,200,200]

When I type this I would like the lower and left axes not to be
displayed in the window and the tickmarks to be accordingly shifted
for the other 2 axes. However it seems that no matter what negative
value I type in, the axes still appear at the bottom and to the left
of the window.

Thanks for your help.

FM
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: integer?
Next Topic: Re: saving variables between calls to a procedure?

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

Current Time: Fri Oct 10 10:01:15 PDT 2025

Total time taken to generate the page: 0.72209 seconds