X, Z, Y are 2D (m x n) arrays of the same size.
How do I plot this as a 3D Surface mesh or a 2D Contour? I created a XyzDataSeries3D but when I set it to a SurfaceMeshRenderableSeries3D, it does not plot anything. But it does plot when using ScatterRenderableSeries3D.
I am basically trying to replicate the surf(X, Y, Z), contour(X, Y, Z) function in Matlab.
Attached is a test data that contain the X, Z and Y 2D arrays of size (261 x 10). The zip file contains an Excel file which has three sheets X, Z and Y that contain the data.
The images are of the Surf plot, and the Contour plot generated using Matlab. I need to generate these plots using SciChart instead of with Matlab.
- A Devadas asked 2 years ago
- last active 12 months ago
I would like to add labels to contour lines as shown in this previous post.
https://www.scichart.com/questions/wpf/is-it-possible-to-do-contour-plots
I have created the heat map with contours, and now I want to programmatically add labels. To this end. I have created a contour series in my view model
var contourSeries = new FastUniformContourRenderableSeries
{
DataSeries = dataSeries,
ZMin = 0.0,
ZMax = 50.0,
ZStep = 4.0
};
This is the same series as I have already plotted. I have looked through this object, trying to find the plotted contour lines, so I can calculate positions to put labels, but I have not found the data. Can you tell me how to extract the plotted contour curve data?
- Stephen Painchaud asked 5 years ago
- last active 4 years ago