andrei catalin
andrei catalin

Reputation: 31

What is the easiest method to implement(draw) 3d plot/scatter, the equivalent of plot3 from matlab?

Plot

Link

I have some points, let's say 3d(they are n-dimensional but I only use 3 dimensions for the plot). I don't think I will have more than 2000 points. How can I draw something similar using C#. I don't want to call the matlab function or use the drawing from there. I haven't used WPF until now, but, if it's easy to implement and to understand, its OK with me.

Upvotes: 3

Views: 10423

Answers (2)

BartoszKP
BartoszKP

Reputation: 35911

ILNumerics is quite easy to learn. It combines a mathematical engine with visualization capabilities (providing Windows Forms Controls). I've posted an example here:

How to create a 3D scatter plot?

Note: at the time of writing this answer the library had a free version. Now it seems even the personal version requires a payment.

Upvotes: 0

skinnedknuckles
skinnedknuckles

Reputation: 411

I have used ILNumerics which provides nice labels and tick marks for each of scatter plots and contour plots but I had trouble selecting data points in the scatter plot with the mouse until I found this article on Charting 3D data in WPF. It works well but lacks axis labels and tick marks.

High performance WPF 3D Chart

Upvotes: 1

Related Questions