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

Bill, Thanks for the pointers.

I've changed my code to simply try to plot a mesh of non-connected points 
(using a Linear2DSet) with error bars on each point.  I've looked at 
test47.java and the VisAD dev guide and am having a little difficulty 
understanding all the necessary incantations for doing the Shape part that 
handles the error bars.  I've looked through the java docs as well and am 
beginning to get a feel for what is going on....

How do I set the actual shape of the error bar? i.e. what symbol is used to 
represent it?

Mark


> 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
> > ================================
> >
> >
> 
> 


======================================
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: