[vtkusers] vtkChartXY + setTitle + Tcl
Mario Rodriguez
biomates at telefonica.net
Fri Dec 25 05:00:08 EST 2015
Hello,
In my efforts to use vtkChartXY from Tcl scripts I write:
vtkChartXY chart
Now, if I want to set a title, or change the label of an axis, things like
chart SetTitle "Chart"
[chart GetAxis 1] SetTitle "Time"
always throw the following error:
Object named: chart, could not find requested method: SetTitle
or the method was called with incorrect arguments.
From documentation, seems that the origin of the problem is that
SetTitle expects as argument an object of class vtkStdString, but all my
attempts to make use of it were successless.
Any help would be greatly appreciated.
I am using vtk 6.3.
--
Mario
More information about the vtkusers
mailing list