MathGroup Archive 1994

[Date Index] [Thread Index] [Author Index]

Search the Archive

Mesh-style 3D graphs

  • To: MATHGROUP at yoda.physics.unc.edu
  • Subject: Mesh-style 3D graphs
  • From: barenco at vax.ox.ac.uk
  • Date: Thu, 03 Mar 1994 11:21:35 +0000

Hi
    I have a question with ListPlot3D :

    I have a function f sampled in an array NxN (say 64x64), and
    I'd like to plot f as a Mesh. To do that I use

    In[3]:= ListPlot3D[array,Shading->False]

    It works fine, but it tends to get quite messy when N is
    large (too many lines on the graph). Things would be much
    better if I could plot only one line out of two (for instance). To
    do that, one easy solution is to construct out of my initial
    array, a new array where I pick up one element out of two.
    But doing that, I loose resolution, it would be much better
    to keep the NxN array and to convert it into a Mesh, such
    that between adjacent points of the Mesh, I have something
    better than a straight line.

    Is there any easy way to do that with the built in functions
    of Mma ?


    Thanks for your help

    Adriano Barenco

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adriano Barenco                 email: barenco at vax.ox.ac.uk
Clarendon Laboratory            phone: (0865) 272 333
Parks Road                        fax: (0865) 272 400
Oxford OX1 3PU






  • Prev by Date: Autocorrelation and Random Numbers
  • Next by Date: X Window Frontend Menu Font and Colors
  • Previous by thread: Re: Autocorrelation and Random Numbers
  • Next by thread: X Window Frontend Menu Font and Colors