In GNUPlot it is possible to plot a function on a surface (see, for example, this question). Similar thing can be done in Mathematica (see this question).
Is it possible to do the same thing in Matplotlib? Alternatively, is it possible to map the colourmap by the function that one intends to plot on the surface?
A good example of this is plotting an ellipsoid, and visualising the Gauss curvature at each point on it with the colourmap.
Related
I would like to know if the TeeChart can do a scatter and\or kde contour for a series with downsampling of the data. I also need to be able to click on the chart and get the x and y point value.
I have looked at the documentation and the few examples but have not been able to determine if it can do it or how specifically to set it up. I would like to know before I purchase a license.
I am struggling with how to plot a cube with each face shaded as a 2D heatmap.
See the following image for what I am trying to do:
I couldn't figure out how to do it with meshgrid since I don't have any data for the inside of the cube just the surfaces. To make a contour plot for one of the surfaces I use two axes to make the meshgrid and then calculate the z data but that is just one face. So I have to do that process individually for each face.
I thought I could manually add patches and rotate them to position colored with their value but that didn't seem like the best way. I was wondering if I was missing something easier.
I am working on a project that requires me to derive equations for some plots that I would get. Here I want to use an accelerometer to get a reading on the points in the Cartesian coordinates and use these to find the equations of the plot for further analysis of the equations.
The reading would be for the vibrations made by an object for which the vibration needs to be damped.
Currently I did not get any method to change a plot from excel to a mathematical equation. The plot points were derived from a smartphone app.
Equations for all three coordinates XYZ can be calibrated separately.
I am in dire need for a vb.net code to change the plot into equation. the charts would be an input to excel.
Any and all help is appreciated.
Thank You
PS. Please explain if posting a code.
Cartopy seems like a great tool for Geoscience, but it appears to lack a method for plotting vector data on a map together with their error ellipses. Is there a straightforward way to add error ellipses centered on the tips of vector data?
Cartopy inherits all its vector plotting functionality from matplotlib. Cartopy provides a way to project the vectors, but they are drawn by matplotlib. I haven't heard of a feature you describe in matplotlib, so I'm afraid the answer is probably no.
I want to create a contour plot with matlibplot and generate a shapefile from it so that I can use it in QGIS to display it.
Though it is possible to plot a map with matplotlib and then overlay with my contour plot, the choices of map sources are limited. It would be easier to export the contour plot in a shapefile and loaded in QGIS with a customized map.
Thanks!
There is a contour plugin available in QGIS, and it is based on the contouring functions of matplotlib. It's still a little bit buggy but hopefully that will be corrected in the future.