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

Home » Public Forums » archive » Isotropic keyword in plot (function graphics)
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: Isotropic keyword in plot (function graphics) [message #94405 is a reply to message #94404] Wed, 10 May 2017 13:37 Go to previous messageGo to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
Thanks for the suggestion. I suppose I could start the plot, then calculate xrange/yrange (or the other way around) and use this in the aspect_ratio property after the fact. Doing it afterward hadn't occurred to me, and it wasn't clear how to do it upfront because every plot is different. So that should work. Still, it would be nice not to add two extra steps.

Hmmm, actually, it would be nice if the axis steps (size of a cell of size 1) were the same in every plot, but again, the range is different from plot to plot. I'll think about a way to do that with "dimensions," although in this case I'm letting IDL pick the axis range and dimensions has to be specified in the original call.



On Wednesday, May 10, 2017 at 12:39:31 PM UTC-7, Jeff B wrote:
> On Wednesday, May 10, 2017 at 2:28:43 PM UTC-5, laura...@gmail.com wrote:
>> It seems that the "isotropic" keyword is not allowed for the "plot" command in the new function graphics. Is there any alternative? This was a very useful tool for keeping plots realistic. Is there any alternative?
>
> The aspect_ratio property may suit your needs:
>
> https://www.harrisgeospatial.com/docs/plot.html#ASPECT_R
>
> -Jeff
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: change colors on colortable
Next Topic: How to get all graphics elements in a Window?

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

Current Time: Wed Oct 08 13:07:05 PDT 2025

Total time taken to generate the page: 0.00455 seconds