[vtkusers] multiple xy plots?
Emiliano Beronich
emiliano at veccsa.com
Mon Aug 23 14:13:20 EDT 2004
Hi Mathieu,
These lines reproduce the problem on tcl.
vtkRenderWindow rw
vtkRenderer re
vtkXYPlotActor pa
vtkImageSinusoidSource cosSrc
cosSrc SetWholeExtent 0 255 0 0 0 0
cosSrc SetPeriod 256
vtkImageSinusoidSource sinSrc
sinSrc SetWholeExtent 0 255 0 0 0 0
sinSrc SetPeriod 256
sinSrc SetPhase 1.5708
pa AddInput [cosSrc GetOutput]
pa AddInput [sinSrc GetOutput]
#~ try uncommenting one of these lines
#~ pa RemoveInput [sinSrc GetOutput]
#~ pa RemoveInput [cosSrc GetOutput]
re AddActor pa
rw AddRenderer re
rw Render
Regards,
Emiliano
Mathieu Malaterre wrote:
> Emiliano
>
> I have entered this as bug #1111 in our bug tracker:
>
> http://vtk.org/Bug/bug.php?op=show&bugid=1111
>
> Is it possible you send us a simple tcl/python script that reprodue
> the bug.
>
> Thanks
> Mathieu
>
>>
>> But I have found troubles when I want to remove a curve. I have found
>> a bug on vtkXYPlotActor class on the method RemoveInput that may need
>> to be fixed. I attach the modified class that fix this problem.
>>
>> Regards,
>> Emiliano
>>
>>
>>
>> David Bernstein wrote:
>>
>>>
>>> Hi All, Can someone post a simple C++ example showing how to get two
>>> or more
>>> sets of data plotted in the same X-Y plot? I'm importing the data in
>>> the form of
>>> stl vectors.
>>>
>>> Thanks,
>>> Dave Bernstein
>>>
>>> _______________________________________________
>>> This is the private VTK discussion list. Please keep messages
>>> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list