Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Plot n sets of 2D data in 3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73264] Plot n sets of 2D data in 3D
  • From: "Ivan" <darknails at gmail.com>
  • Date: Fri, 9 Feb 2007 02:19:29 -0500 (EST)

Hi,

I want to draw 3D surface plots for n set of 2D data, ie. n 2D plots
standing
next to each other. I would like to know how to label the different
sets of data,
say, from 1 to n.

The example is

Needs["Graphics`Graphics3D`"];

g1 = ListPlot[ReadList["test.dat", Number, RecordLists -> True],
PlotJoined -> True];
g2 = ListPlot[ReadList["test2.dat", Number, RecordLists -> True],
PlotJoined -> True];

Show[StackGraphics[{g1, g2}],  Ticks -> {{1, 2, 3, 4, 5, 6}, None, {1,
2}}];

The problem is changing the "None" to, say, "{1,2}", since I have two
sets of data, does
not add the tick labels. It seems to have no effect.

anyone know how to do this?



  • Prev by Date: Re: Fitting data to a curve
  • Next by Date: Re: DSolve y'[t]==y[t-a]
  • Previous by thread: Re: Unwrap list of angles
  • Next by thread: Re: Plot n sets of 2D data in 3D