| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Methods > DrawResponsePlot Method SharpPlot.DrawResponsePlot MethodDraw 3D grid, and construct surface from multiple vectors of zValues giving rows and columns. Examplesp.SetMargins(12,12,18,4); respdata = new int[][]{new int[]{4,3,2},new int[]{7,6,5},new int[]{12,11,10}, new int[]{19,18,17}}; sp.ResponsePlotStyle = ResponsePlotStyles.WallShading|ResponsePlotStyles.GridLines| ResponsePlotStyles.Markers|ResponsePlotStyles.TiledSurface; sp.SetMarkers(Marker.Node); sp.SetAxisStyle(Color.Gray,LineStyle.Solid,0.5); sp.SetFillStyles(FillStyle.Opacity30); sp.DrawResponsePlot(respdata); The short tutorial shows a few of the possibilities and some sample code. Overloads
DescriptionThis chart is almost always used to illustrate a computed mathematical surface, and could often be combined with a Cloudchart to show a theoretical model overlayed with raw data values. In the simplest case it takes a rectangular array of arrays of Z-values (effectively a matrix) and treats these as a uniform mesh to be plotted vertically with equally spaced x and y values. An option is to provide either or both of the x and y values as arrays of the correct length, to draw the mesh on a non-uniform scale. By default the surface is drawn as a simple wireframe, but an option is to ‘tile’ the surface to give the illusion of a solid figure. This is often done with semi-transparent tiles so that surfaces with folds remain partially visible, whatever the viewpoint. See also ...Visualising Response Surfaces | SharpPlot Members | ResponsePlotStyle Property | SetViewpoint Method |