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

Home » Public Forums » archive » Mesh spacing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Mesh spacing [message #9909] Fri, 12 September 1997 00:00
Neil Winrow is currently offline  Neil Winrow
Messages: 18
Registered: July 1997
Junior Member
Can anyone offer me any advice?

The mesh grid that covers the surface plot I have produced is causing me
one or two problems. I have made the lines as small as I can but my boss
is still not happy with the plot. As I move the plot around areas of the
plot become darker as the concentration of lines increases. Is there any
way that I can reduces the number of lines on the mesh grid, and
hopefully this will solve my problem.

Many Thanks

Neil.
Re: Mesh spacing [message #9910 is a reply to message #9909] Fri, 12 September 1997 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Neil Winrow writes:

> The mesh grid that covers the surface plot I have produced is causing me
> one or two problems. I have made the lines as small as I can but my boss
> is still not happy with the plot. As I move the plot around areas of the
> plot become darker as the concentration of lines increases. Is there any
> way that I can reduces the number of lines on the mesh grid, and
> hopefully this will solve my problem.

Depending upon your application and needs, of course, the practical
upper limit on most surface plots is an array of about 80 by 80.
Arrays larger than that just produce too many lines to be easily
visualized in a normal-sized window. I like a surface plot of
about 60 by 60, so I find myself writing a lot of code that
looks like this:

s = Size(array)
IF s[1] GT 60 OR s[2] GT 60 THEN $
Surface, Congrid(array, 60, 60) ELSE Surface, array

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Save and Common Blocks
Next Topic: Backing store on VMS/MOTIF

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

Current Time: Fri Oct 10 15:54:51 PDT 2025

Total time taken to generate the page: 1.27989 seconds