Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re plot graph



>I have a set of solutions. I partitioned them 3 by 3 :
>{{x1,y1,z1},{x2,y2,z2},{x3,y3,z3},{x4,y4,z4},...}. I want to plot a 3D
>graph.  I know ListPlot[] can treat {{x1,y1},{x2,y2},...}. But
>ListPlot3D[] does not  give the graph I want. What is wrong ? I am
>using Mathematica 3.0 .
>
>Give an example, I think
>ListPlot3D[{{1,10,100},{2,20,200},{3,30,300},{4,40,400}}] should show a
>straight line. But it doesn't.
>
>Thanks for help.
>David Chik. ( email : h9505865@hkusua.hku.hk )


Used instead :
Show[Graphics3D[Map[Point,{{1,10,100},{2,20,200},{3,30,300},{4,40,400}}]]]
to draw the points or
Show[Graphics3D[Line[{{1,10,100},{2,20,200},{3,30,300},{4,40,400}}]]] to
draw a line connecting the points sequencially.


---------------------------------------- Thierry Verdel,
LAEGO (LAboratoire Environnement, Géomécanique et Ouvrages)
Ineris-Ecole des Mines
Parc Saurupt,
54042 Nancy Cedex, France
tel : (33) 03 83 58 42 89      fax : (33) 03 83  53 38 49 email :
verdel@mines.u-nancy.fr
http://www.mines.u-nancy.fr/~verdel/




  • Prev by Date: Re: Keyboard/Mouse macros in Mathematica 3.0 for Win95?
  • Next by Date: Re: Q:ReadList is reading spaces with numbers - what do I do?
  • Prev by thread: Re: random number generation
  • Next by thread: Column output to text file