MathGroup Archive 2007

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

Search the Archive

Re: Plot n sets of 2D data in 3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73486] Re: Plot n sets of 2D data in 3D
  • From: Lawrence Walker <lwalker701 at earthlink.net>
  • Date: Mon, 19 Feb 2007 06:34:30 -0500 (EST)
  • References: <eqh7oa$i54$1@smc.vnet.net>


Ivan wrote:
> 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?
> 
> 

I can't get the Tick option to work either.
Have you tried Text to place the tick numbers along the axis?

Lawrence


  • Prev by Date: Re: Re: Re: record intermediate steps
  • Next by Date: Re: (in)dependent variables in DSolve: need explanation.
  • Previous by thread: Plot n sets of 2D data in 3D
  • Next by thread: Showing that a hypergeometric expression is 0?