<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7655.8">
<TITLE>problem with xyPlot</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi<BR>
I have a problem with this exaple:<BR>
<BR>
/*=========================================================================<BR>
<BR>
&nbsp; Program:&nbsp;&nbsp; Visualization Toolkit<BR>
&nbsp; Module:&nbsp;&nbsp;&nbsp; $RCSfile: Cylinder.cxx,v $<BR>
<BR>
&nbsp; Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen<BR>
&nbsp; All rights reserved.<BR>
&nbsp; See Copyright.txt or <A HREF="http://www.kitware.com/Copyright.htm">http://www.kitware.com/Copyright.htm</A> for details.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp; This software is distributed WITHOUT ANY WARRANTY; without even<BR>
&nbsp;&nbsp;&nbsp;&nbsp; the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR<BR>
&nbsp;&nbsp;&nbsp;&nbsp; PURPOSE.&nbsp; See the above copyright notice for more information.<BR>
<BR>
=========================================================================*/<BR>
//This example demonstrates the use of vtkXYPlotActor to display three<BR>
//probe lines using three different techniques.&nbsp; In this example, we are<BR>
//loading data using the vtkPLOT3DReader.&nbsp; We are using the vtkProbeFilter<BR>
//to extract the underlying point data along three probe lines.<BR>
<BR>
//<BR>
//First we include the VTK Tcl packages which will make available<BR>
//all of the vtk commands to Tcl.<BR>
//<BR>
#include &quot;vtkPLOT3DReader.h&quot;<BR>
#include &quot;vtkLineSource.h&quot;<BR>
#include &quot;vtkTransform.h&quot;<BR>
#include &quot;vtkTransformPolyDataFilter.h&quot;<BR>
#include &quot;vtkProbeFilter.h&quot;<BR>
#include &quot;vtkProperty2D.h&quot;<BR>
<BR>
#include &quot;vtkAppendPolyData.h&quot;<BR>
#include &quot;vtkTubeFilter.h&quot;<BR>
<BR>
#include &quot;vtkPolyDataMapper.h&quot;<BR>
#include &quot;vtkActor.h&quot;<BR>
#include &quot;vtkXYPlotActor.h&quot;<BR>
#include &quot;vtkTextProperty.h&quot;<BR>
#include &quot;vtkStructuredGridOutlineFilter.h&quot;<BR>
<BR>
#include &quot;vtkRenderer.h&quot;<BR>
#include &quot;vtkRenderWindow.h&quot;<BR>
#include &quot;vtkRenderWindowInteractor.h&quot;<BR>
#include &quot;vtkProperty.h&quot;<BR>
#include &quot;vtkCamera.h&quot;<BR>
<BR>
int main()<BR>
{<BR>
&nbsp; //Create a PLOT3D reader and load the data.<BR>
//<BR>
vtkPLOT3DReader *pl3d=vtkPLOT3DReader::New();<BR>
&nbsp;&nbsp;&nbsp; pl3d-&gt;SetXYZFileName(&quot;combxyz.bin&quot;);<BR>
&nbsp;&nbsp;&nbsp; pl3d-&gt;SetQFileName(&quot;combq.bin&quot;);<BR>
&nbsp;&nbsp;&nbsp; pl3d-&gt;SetScalarFunctionNumber(100);<BR>
&nbsp;&nbsp;&nbsp; pl3d-&gt;SetVectorFunctionNumber(202);<BR>
&nbsp;&nbsp;&nbsp; pl3d-&gt;Update();<BR>
<BR>
//Create three the line source to use for the probe lines.<BR>
vtkLineSource *line=vtkLineSource::New();<BR>
&nbsp;&nbsp;&nbsp; line-&gt;SetResolution(30);<BR>
<BR>
<BR>
//Move the line into place and create the probe filter.&nbsp; For vtkProbeFilter,<BR>
//the probe line is the input, and the underlying data set is the source.<BR>
vtkTransform *transL1=vtkTransform::New();<BR>
&nbsp;&nbsp;&nbsp; transL1-&gt;Translate(3.7,0.0,28.37);<BR>
&nbsp;&nbsp;&nbsp; transL1-&gt;Scale(5,5,5);<BR>
&nbsp;&nbsp;&nbsp; transL1-&gt;RotateY(90);<BR>
vtkTransformPolyDataFilter *tf=vtkTransformPolyDataFilter::New();<BR>
&nbsp;&nbsp;&nbsp; tf-&gt;SetInputConnection(line-&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; tf-&gt;SetTransform(transL1);<BR>
vtkProbeFilter *probe=vtkProbeFilter::New();<BR>
&nbsp;&nbsp;&nbsp; probe-&gt;SetInputConnection(tf-&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; probe-&gt;SetSource(pl3d-&gt;GetOutput());<BR>
<BR>
//Move the line again and create another probe filter.<BR>
vtkTransform *transL2=vtkTransform::New();<BR>
&nbsp;&nbsp;&nbsp; transL2-&gt;Translate(9.2,0.0,31.20);<BR>
&nbsp;&nbsp;&nbsp; transL2-&gt;Scale (5, 5, 5);<BR>
&nbsp;&nbsp;&nbsp; transL2-&gt; RotateY (90);<BR>
vtkTransformPolyDataFilter *tf2=vtkTransformPolyDataFilter::New();<BR>
&nbsp;&nbsp;&nbsp; tf2-&gt; SetInputConnection (line-&gt; GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; tf2 -&gt;SetTransform (transL2);<BR>
vtkProbeFilter *probe2=vtkProbeFilter::New();<BR>
&nbsp;&nbsp;&nbsp; probe2-&gt; SetInputConnection (tf2 -&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; probe2-&gt; SetSource (pl3d-&gt; GetOutput());<BR>
<BR>
//Move the line again and create a third probe filter.<BR>
vtkTransform *transL3=vtkTransform::New();<BR>
&nbsp;&nbsp;&nbsp; transL3-&gt; Translate( 13.27, 0.0, 33.40);<BR>
&nbsp;&nbsp;&nbsp; transL3-&gt;Scale( 4.5, 4.5, 4.5);<BR>
&nbsp;&nbsp;&nbsp; transL3-&gt; RotateY( 90);<BR>
vtkTransformPolyDataFilter *tf3=vtkTransformPolyDataFilter::New();<BR>
&nbsp;&nbsp;&nbsp; tf3-&gt; SetInputConnection(line-&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; tf3-&gt; SetTransform (transL3);<BR>
vtkProbeFilter *probe3=vtkProbeFilter::New();<BR>
&nbsp;&nbsp;&nbsp; probe3-&gt; SetInputConnection (tf3 -&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; probe3-&gt; SetSource(pl3d-&gt; GetOutput());<BR>
<BR>
//Create a vtkAppendPolyData to merge the output of the three probe filters<BR>
//into one data set.<BR>
vtkAppendPolyData *appendF=vtkAppendPolyData::New();<BR>
&nbsp;&nbsp;&nbsp; appendF-&gt; AddInput (probe-&gt; GetPolyDataOutput());<BR>
&nbsp;&nbsp;&nbsp; appendF-&gt; AddInput (probe2-&gt; GetPolyDataOutput());<BR>
&nbsp;&nbsp;&nbsp; appendF-&gt; AddInput (probe3-&gt; GetPolyDataOutput());<BR>
<BR>
//Create a tube filter to represent the lines as tubes.&nbsp; Set up the associated<BR>
//mapper and actor.<BR>
vtkTubeFilter *tuber=vtkTubeFilter::New();<BR>
&nbsp;&nbsp;&nbsp; tuber-&gt; SetInputConnection (appendF-&gt;GetOutputPort());<BR>
&nbsp;&nbsp;&nbsp; tuber-&gt; SetRadius (0.1);<BR>
vtkPolyDataMapper *lineMapper=vtkPolyDataMapper::New();<BR>
&nbsp;&nbsp;&nbsp; lineMapper-&gt; SetInputConnection (tuber-&gt; GetOutputPort());<BR>
vtkActor *lineActor=vtkActor::New();<BR>
&nbsp;&nbsp;&nbsp; lineActor-&gt; SetMapper( lineMapper);<BR>
<BR>
// Create an xy-plot using the output of the 3 probe filters as input.<BR>
//The x-values we are plotting are arc length.<BR>
vtkXYPlotActor *xyplot=vtkXYPlotActor::New();<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; AddInput (probe-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; AddInput (probe2-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt;AddInput (probe3-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt;GetPositionCoordinate()-&gt; SetValue (0.0, 0.67, 0);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; GetPosition2Coordinate()-&gt; SetValue (1.0, 0.33, 0);&nbsp;&nbsp;&nbsp; //relative to<BR>
Position<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetXValuesToArcLength();<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetNumberOfXLabels( 6);<BR>
&nbsp;&nbsp;&nbsp; xyplot -&gt;SetTitle (&quot;Pressure vs. Arc Length (Zoomed View)&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetXTitle( &quot;&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetYTitle (&quot;P&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetXRange( .1 ,.35);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetYRange( .2, .4);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; GetProperty()-&gt; SetColor (0, 0, 0);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; GetProperty()-&gt; SetLineWidth( 2);<BR>
&nbsp;&nbsp;&nbsp; //Set text prop color (same color for backward compat with test)<BR>
&nbsp;&nbsp;&nbsp; //Assign same object to all text props<BR>
vtkTextProperty *tprop;<BR>
&nbsp;&nbsp;&nbsp; tprop =xyplot-&gt; GetTitleTextProperty();<BR>
&nbsp;&nbsp;&nbsp; tprop -&gt;SetColor(xyplot-&gt; GetProperty()-&gt; GetColor());<BR>
&nbsp;&nbsp;&nbsp; xyplot -&gt;SetAxisTitleTextProperty (tprop);<BR>
&nbsp;&nbsp;&nbsp; xyplot-&gt; SetAxisLabelTextProperty (tprop);<BR>
<BR>
//Create an xy-plot using the output of the 3 probe filters as input.<BR>
//The x-values we are plotting are normalized arc length.<BR>
vtkXYPlotActor *xyplot2=vtkXYPlotActor::New();<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; AddInput (probe-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot2 -&gt;AddInput (probe2 -&gt;GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; AddInput (probe3 -&gt;GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; GetPositionCoordinate()-&gt; SetValue (0.00 ,0.33, 0);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; GetPosition2Coordinate()-&gt; SetValue( 1.0, 0.33, 0);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //<BR>
relative to Position<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; SetXValuesToNormalizedArcLength();<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; SetNumberOfXLabels (6);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; SetTitle (&quot;Pressure vs. Normalized Arc Length&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; SetXTitle (&quot;&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot2 -&gt;SetYTitle (&quot;P&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; PlotPointsOn();<BR>
&nbsp;&nbsp;&nbsp; xyplot2 -&gt;PlotLinesOff();<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; GetProperty()-&gt; SetColor (1 ,0, 0);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; GetProperty()-&gt; SetPointSize (2);<BR>
&nbsp;&nbsp;&nbsp; //Set text prop color (same color for backward compat with test)<BR>
&nbsp;&nbsp;&nbsp; //Assign same object to all text props<BR>
//vtkTextProperty *tprop;<BR>
&nbsp;&nbsp;&nbsp; tprop =xyplot2-&gt; GetTitleTextProperty();<BR>
&nbsp;&nbsp;&nbsp; tprop -&gt;SetColor(xyplot-&gt; GetProperty()-&gt; GetColor());<BR>
&nbsp;&nbsp;&nbsp; xyplot2 -&gt;SetAxisTitleTextProperty (tprop);<BR>
&nbsp;&nbsp;&nbsp; xyplot2-&gt; SetAxisLabelTextProperty (tprop);<BR>
<BR>
//Create an xy-plot using the output of the 3 probe filters as input.<BR>
//The x-values we are plotting are the underlying point data values.<BR>
vtkXYPlotActor *xyplot3=vtkXYPlotActor::New();<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; AddInput (probe-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; AddInput (probe2-&gt; GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;AddInput (probe3 -&gt;GetOutput());<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; GetPositionCoordinate()-&gt; SetValue (0.0, 0.0 ,0);<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; GetPosition2Coordinate()-&gt; SetValue (1.0, 0.33, 0);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
//relative to Position<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;SetXValuesToIndex();<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; SetNumberOfXLabels (6);<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;SetTitle (&quot;Pressure vs. Point Id&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; SetXTitle (&quot;Probe Length&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;SetYTitle (&quot;P&quot;);<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;PlotPointsOn();<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt;GetProperty()-&gt; SetColor (0 ,0, 1);<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; GetProperty()-&gt; SetPointSize (3);<BR>
&nbsp;&nbsp; // Set text prop color (same color for backward compat with test)<BR>
&nbsp;&nbsp;&nbsp; //sign same object to all text props<BR>
//vtkTextProperty *tprop;<BR>
&nbsp;&nbsp;&nbsp; tprop =xyplot3-&gt; GetTitleTextProperty();<BR>
&nbsp;&nbsp;&nbsp; tprop -&gt;SetColor(xyplot-&gt; GetProperty()-&gt; GetColor());<BR>
&nbsp;&nbsp;&nbsp; xyplot3 -&gt;SetAxisTitleTextProperty (tprop);<BR>
&nbsp;&nbsp;&nbsp; xyplot3-&gt; SetAxisLabelTextProperty (tprop);<BR>
<BR>
//aw an outline of the PLOT3D data set.<BR>
vtkStructuredGridOutlineFilter *outline=vtkStructuredGridOutlineFilter::New();<BR>
&nbsp;&nbsp;&nbsp; outline -&gt;SetInputConnection (pl3d-&gt; GetOutputPort());<BR>
vtkPolyDataMapper *outlineMapper=vtkPolyDataMapper::New();<BR>
&nbsp;&nbsp;&nbsp; outlineMapper-&gt; SetInputConnection (outline -&gt;GetOutputPort());<BR>
vtkActor *outlineActor=vtkActor::New();<BR>
&nbsp;&nbsp;&nbsp; outlineActor-&gt; SetMapper (outlineMapper);<BR>
&nbsp;&nbsp;&nbsp; outlineActor-&gt; GetProperty()-&gt; SetColor( 0, 0, 0);<BR>
<BR>
//Create the Renderers, RenderWindow, and RenderWindowInteractor.<BR>
&nbsp; vtkRenderer *ren1 = vtkRenderer::New();<BR>
&nbsp; vtkRenderer *ren2 = vtkRenderer::New();<BR>
<BR>
&nbsp; vtkRenderWindow *renWin = vtkRenderWindow::New();<BR>
&nbsp; renWin-&gt;AddRenderer(ren1);<BR>
&nbsp; renWin-&gt;AddRenderer(ren2);<BR>
<BR>
&nbsp; vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();<BR>
&nbsp; iren-&gt;SetRenderWindow(renWin);<BR>
<BR>
//Set the background, viewport (necessary because we want to have the<BR>
//renderers draw to different parts of the render window) of the first<BR>
// renderer.&nbsp; Add the outline and line actors to the renderer.&nbsp;<BR>
ren1-&gt; SetBackground (0.6784 ,0.8471, 0.9020);<BR>
ren1 -&gt;SetViewport (0, 0, .5, 1);<BR>
ren1-&gt; AddActor (outlineActor);<BR>
ren1 -&gt;AddActor (lineActor);<BR>
// Set the background and viewport of the second renderer.&nbsp; Add the xy-plot<BR>
//actors to the renderer.&nbsp; Set the size of the render window.<BR>
ren2 -&gt;SetBackground (1, 1, 1);<BR>
ren2 -&gt;SetViewport (0.5 ,0.0 ,1.0, 1.0);<BR>
ren2 -&gt;AddActor2D (xyplot);<BR>
ren2-&gt;AddActor2D (xyplot2);<BR>
ren2-&gt; AddActor2D (xyplot3);<BR>
renWin-&gt; SetSize (500, 250);<BR>
&nbsp; // We'll zoom in a little by accessing the camera and invoking a &quot;Zoom&quot;<BR>
&nbsp; // method on it.<BR>
&nbsp; ren1-&gt;ResetCamera();<BR>
&nbsp; ren1-&gt;GetActiveCamera()-&gt;Zoom(1.5);<BR>
&nbsp; renWin-&gt;Render();<BR>
<BR>
&nbsp;<BR>
// Set up the camera parameters.<BR>
&nbsp; vtkCamera *cam1;<BR>
&nbsp;&nbsp;&nbsp;&nbsp; cam1= ren1 -&gt;GetActiveCamera();<BR>
&nbsp;&nbsp;&nbsp;&nbsp; cam1-&gt; SetClippingRange (3.95297, 100);<BR>
&nbsp;&nbsp;&nbsp;&nbsp; cam1-&gt; SetFocalPoint (8.88908, 0.595038 ,29.3342);<BR>
&nbsp;&nbsp;&nbsp;&nbsp; cam1-&gt; SetPosition (-12.3332, 31.7479, 41.2387);<BR>
&nbsp;&nbsp;&nbsp;&nbsp; cam1-&gt; SetViewUp (0.060772, -0.319905, 0.945498);<BR>
iren -&gt;Initialize();<BR>
<BR>
<BR>
<BR>
&nbsp; // This starts the event loop and as a side effect causes an initial render.<BR>
&nbsp;// iren-&gt;Start();<BR>
<BR>
&nbsp; // Exiting from here, we have to delete all the instances that<BR>
&nbsp; // have been created.<BR>
&nbsp; pl3d-&gt;Delete();<BR>
&nbsp; line-&gt;Delete();<BR>
&nbsp; transL1-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; probe-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transL2-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf2-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; probe2-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transL3-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tf3-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; probe3-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appendF-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tuber-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lineMapper-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lineActor-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xyplot-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xyplot2-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xyplot3-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; outline-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; outlineMapper-&gt;Delete();<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; outlineActor-&gt;Delete();<BR>
&nbsp; ren1-&gt;Delete();<BR>
&nbsp; ren2-&gt;Delete();<BR>
&nbsp; renWin-&gt;Delete();<BR>
&nbsp; iren-&gt;Delete();<BR>
<BR>
&nbsp; return 0;<BR>
}<BR>
<BR>
<BR>
why my output is that?:<BR>
<BR>
~$ make<BR>
[100%] Building CXX object CMakeFiles/xyPlot.dir/xyPlot.o<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx: In function &#145;int main()&#146;:<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:73: error: no matching function for call to &#145;vtkProbeFilter::SetSource(vtkStructuredGrid*)&#146;<BR>
/usr/local/include/vtk-5.4/vtkProbeFilter.h:55: note: candidates are: void vtkProbeFilter::SetSource(vtkDataObject*)<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:85: error: no matching function for call to &#145;vtkProbeFilter::SetSource(vtkStructuredGrid*)&#146;<BR>
/usr/local/include/vtk-5.4/vtkProbeFilter.h:55: note: candidates are: void vtkProbeFilter::SetSource(vtkDataObject*)<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:97: error: no matching function for call to &#145;vtkProbeFilter::SetSource(vtkStructuredGrid*)&#146;<BR>
/usr/local/include/vtk-5.4/vtkProbeFilter.h:55: note: candidates are: void vtkProbeFilter::SetSource(vtkDataObject*)<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:124: error: &#145;Position&#146; was not declared in this scope<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:125: error: expected &#145;;&#146; before &#145;xyplot&#146;<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:150: error: &#145;relative&#146; was not declared in this scope<BR>
/home/edoardo/VTK/plot/src/xyPlot.cxx:150: error: expected &#145;;&#146; before &#145;to&#146;<BR>
make[2]: *** [CMakeFiles/xyPlot.dir/xyPlot.o] Errore 1<BR>
make[1]: *** [CMakeFiles/xyPlot.dir/all] Errore 2<BR>
make: *** [all] Errore 2<BR>
<BR>
Thank you very much for the interest<BR>
Best regards<BR>
Edoardo</FONT>
</P>

</BODY>
</HTML>