SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Contour Plots in SCIRun


Chronological Thread 
  • From: Michael Callahan <callahan@sci.utah.edu>
  • To: Eduardo Morales <eaol_2000@hotmail.com>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Contour Plots in SCIRun
  • Date: Thu, 03 Jun 2004 15:31:37 -0600

You can contour an ImageField, but there is not a particularly
user-friendly means of converting a SCIRun matrix into an ImageField. 
Once it is an image field you can run it through the ShowField and
Isosurface modules to make a nice contour map.  The sample network
located in src/nets/Modules/Visualization/Isosurface-typequadnode.net
shows how you would do the visualization part of this.

The easiest way to convert the matrix into an ImageField would be to
create the matrix such that it was stretched out into a column matrix,
then use ManageFieldData to attach it to an ImageField.  So you would
turn your 5x8 matrix into a 1x40 matrix somehow, then use SamplePlane to
create a 5x8 ImageField with data at nodes and feed both the field and
the matrix into ManageFieldData.

  Michael

On Thu, 2004-06-03 at 08:42, Eduardo Morales wrote:
> Hi there,
> 
> How can I plot a rectangular matrix as a contour plot using SCIRun?
> 
> Thank you
> 
> Eduardo Morales
> 
> _________________________________________________________________
> MSN 9 Dial-up Internet Access fights spam and pop-ups  now 3 months FREE! 
> http://join.msn.click-url.com/go/onm00200361ave/direct/01/
> 
> ===========================================================================
> == The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
> == for more details.                                                     ==
> == Please acknowledge use of SCIRun in your papers and reports:          ==
> ==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
> ===========================================================================

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page