Connecting Tech Pros Worldwide Forums | Help | Site Map

WPF component for 2D plots

Giovanni Dicanio
Guest
 
Posts: n/a
#1: Jun 27 '08
Hi,

do you know any WPF component for 2D line plots?

I would like something to plot 2D data using lines, like Matlab 'plot'
command
(example of Matlab plot:
http://web.cecs.pdx.edu/~gerry/MATLA...g/sinePlot.gif )

I'd like if the component would allow copy-paste of the generated plots into
clipboard (so the plots can be imported e.g. in Word documents).

I tried the open-source library ZedGraph and it is nice (it offers the
copy-paste feature, too), but it is WinForm-based.

I would like to test some open-source WPF-based component.

Thanks in advance,
Giovanni




Peter Duniho
Guest
 
Posts: n/a
#2: Jun 27 '08

re: WPF component for 2D plots


On Thu, 01 May 2008 10:42:39 -0700, Giovanni Dicanio
<giovanni.dicanio@invalid.comwrote:
Quote:
do you know any WPF component for 2D line plots?
The PathFigure class seems to be appropriate for that.

Whether it deals with copy-and-paste inherently I don't know, since I know
very little about WPF. If WPF objects generally support copy-and-paste,
then I'd guess PathFigure would too. Otherwise, you probably have to do
some of the work yourself (in a regular Forms application, that would
involve creating a bitmap or metafile, drawing the graphics to that
instance, and then posting the data to the clipboard...not too hard, but I
don't know what the equivalent in WPF would be).

Pete
Closed Thread


Similar C# / C Sharp bytes