Re: Display a series of 2D curves in a 3D display

Hi Mark,

Put your data in a FlatField with MathType:

  ((x, y) -> (z, errorlow, errorhi))

Then make ScalarMaps: x-> XAxis, y -> YAxis, z -> ZAxis,
errorlow -> Shape, errorhi -> Shape. Pass VisADLineArray[]
arrays to the setShapes() methods of the two ShapeControls
for appropriate top and bottom error bar half-shapes,
along with appropriate Linear1DSets to their setShapeSet()
methods (assume errorlow and errorhi values are 0.0 for no
errors, that is relative to z values). Note Test47.java in
visad/examples will give you an example of using Shape.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


On Tue, 16 Apr 2002, Mark Thompson wrote:

>
> I'm new to VisAD, but have worked through the tutorials.
>
> I'd like to do the following and would appreciate tips or pointers from
> users:
>
> I have a series of 2D curves that I'd like to plot next to eachother along
> one of the axes of a 3D plot.  I would like the data points to not be
> connected.  I would like each data point to have an error bar displayed
> along the z-axis.
>
> In essence, I'm trying to plot a 3D mesh of evenly-spaced points that are
> not connected where each point has an error bar.
>
> Its not clear to me if I should use a Linear2DSet or something else.
>
> Apologies if this sounds like too much hand-holding.  Even just a few
> pointers on correct domain tuples, etc. would be a useful start to get me
> moving along the right direction.
>
> Cheers,
> Mark
>
> ================================
> Mark Thompson, Ph.D.
> Planaria Software
> Seattle, WA.
> http://www.arguslab.com
> ================================
>
>


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: