[vtkusers] vtkChart using symbols within line plots or patterned lines?

Marcus D. Hanwell marcus.hanwell at kitware.com
Tue Feb 22 10:56:37 EST 2011


You should get the pen for the plot, and set the line type,

http://www.vtk.org/doc/nightly/html/classvtkPen.html#a9635396711b841ba483fa02975a811c3

Hope that helps.

Marcus

On Tue, Feb 22, 2011 at 10:40 AM, Joseph Melnyk <JMelnyk at pile.com> wrote:
> Answering my own question...
>
> vtkPlotLine will do the trick for adding markers within the lines, at the data points.  I've not found any way to do patterned lines yet, however.
>
>
>> -----Original Message-----
>> From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org]
>> Subject: [vtkusers] vtkChart using symbols within line plots or patterned
>> lines?
>>
>> Does vtkChart support an option to display line plots as lines with symbols
>> within them for the data points?  Similarly, does it support patterned lines
>> (dots, dashes, etc)?
>>
>> I don't see an enumerator for such an option within vtkChart.  I also did some
>> digging and couldn't find any examples of this in the source code/tests
>> (although I may have overlooked something).  I did find these screenshots in
>> the wiki though, which shows that it may currently be possible:
>> http://www.vtk.org/Wiki/VTK/Charts/ChartAPI
>
>
> __Scanned by MessageLabs
> _______________________________________________
> 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
>



More information about the vtkusers mailing list