How do I plot MSE of 3D-values?
Mostrar comentarios más antiguos
Hello all,
I've made a Monte Carlo Analysis and with the result of this data I'd like to plot the MSE in a XYZ-mode. The data is a matrix(n by 3) of respective XYZ values.
An example of what I'm trying to achieve is: https://static-content.springer.com/image/art%3A10.1186%2Fs40064-015-1173-6/MediaObjects/40064_2015_1173_Fig13_HTML.gif
Thanks in advance
Respuestas (1)
Mike Garrity
el 23 de Mzo. de 2016
0 votos
Those plots would be created by the surfc function, but it wants gridded data and it sounds like you have scatter data.
I wrote a post on the MATLAB Graphics blog recently about how to get from scatter data to gridded data. It should be enough to get you started.
5 comentarios
kishintai
el 23 de Mzo. de 2016
Mike Garrity
el 23 de Mzo. de 2016
Exactly. You have scatter data and surfc wants gridded data. Follow the link to the blog post about how to grid scatter data.
kishintai
el 23 de Mzo. de 2016
kishintai
el 24 de Mzo. de 2016
Mike Garrity
el 25 de Mzo. de 2016
You basically just need to grid all of your variables using one of the techniques I described there.
Categorías
Más información sobre Scatter Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!