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

Home » Public Forums » archive » Re: Add diagonal 1:1 line in a plot?
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: Add diagonal 1:1 line in a plot? [message #53923 is a reply to message #53922] Tue, 08 May 2007 06:54 Go to previous messageGo to previous message
Mike[2] is currently offline  Mike[2]
Messages: 99
Registered: December 2005
Member
On May 7, 11:33 pm, David Fanning <n...@dfanning.com> wrote:

> OPlot, [-5, 10], [-5, 10]

Be careful with this - the slope of the line depends on the plot range
and aspect ratio and the ratios of those to the arguments to oplot.
I've found that using

> oplot, !x.crange, !x.crange

more often produces correct plots.

Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: regular expressions (parsing strings)
Next Topic: Re: Object Graphics Code Generator

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

Current Time: Fri Oct 10 13:27:48 PDT 2025

Total time taken to generate the page: 0.88159 seconds