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

Home » Public Forums » archive » Re: Constructing a grid larger than 60 by 60 boxes
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: Constructing a grid larger than 60 by 60 boxes [message #59842 is a reply to message #59840] Thu, 17 April 2008 09:31 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> You just have do do two loops of "oplot", one for all your horizontal
> grid lines and the other for all the vertical grid lines.
>
> Ciao,
> Paolo

:-) you answered faster... I knew I shouldn't do 10 things at the same
time!

for i=0, 210 do oplot,[!X.Crange[0], !X.Crange[1]], [!Y.Crange[0] +
i*((!Y.Crange[1]-!Y.Crange[0])/210),!Y.Crange[0] +
i*((!Y.Crange[1]-!Y.Crange[0])/210)]

In the second loop, change !X for !Y, !Y for !X and 210 for 130...

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Constructing a grid larger than 60 by 60 boxes
Next Topic: Re: probably a stupid question

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

Current Time: Fri Oct 10 17:10:43 PDT 2025

Total time taken to generate the page: 0.72099 seconds