Mesh spacing [message #9909] |
Fri, 12 September 1997 00:00 |
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  |
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
|
|
|