[vtkusers] Symbol-only ChartXY lines disappearing today

Darshan Pai darshanpai at gmail.com
Thu Apr 1 12:24:06 EDT 2010


Whenever some disappearing act happens to me I suspect a seg fault, meaning
I am accessing some non-allocated memory . You should check the array that
you used for the plot .

Regards
Darshan

On Thu, Apr 1, 2010 at 12:08 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:

> Hey again,
>
> I just noticed that at least on today's CVS, a line I'm plotting on a
> ChartXY with only symbols (no "line") disappears as soon as I start
> interacting with the plot. The other two lines (which have lines and no
> symbols) stay.
>
> I'm adding the line which disappears like this:
>
> line0 = chart.AddPlot(0)                # LINE
> line0.SetInput(table, 0, 1)
> line0.SetColor(0, 100, 0, 255)
> line0.SetWidth(5.0)
> line0.GetPen().SetLineType(0)
> line0.SetMarkerStyle(4)
> line0.GetBrush().SetColor(0,100,0,50)
>
> So, in the image I attached to my other post a couple minutes ago, there
> should be another line with green circles in addition to the red and blue
> lines.
>
> I can't remember if this happened earlier today before I updated CVS, or
> maybe some part of the API has just changed and I didn't notice?
>
> Thanks,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100401/0c71517a/attachment.htm>


More information about the vtkusers mailing list