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

Eric E. Monson emonson at cs.duke.edu
Tue Feb 22 10:54:47 EST 2011


Hey Joseph,

You can use plot->GetPen()->SetLineType(int) for other types of lines. See the vtkPen docs for the line type enum:

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

-Eric

------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group


On Feb 22, 2011, at 10:40 AM, Joseph Melnyk 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