Put a limit value on contour and plot3
Mostrar comentarios más antiguos
Hi,
The point of my question is how to put color limit on a specific value on a contour plot or plot3. In fact I would like to have :
- For my contour : if my lines have values from 0 to 10, for exemple I would like to have a specific color for the lines under 5 and a specific color for 5 to 10. Exactly I want to put red color on lines over a limit.
- For my plot3 : I have multiple points on 3D-space and for the z level, I would like to put a limit value and the points that are over this specific z-level takes the red color.
I don't know if I explained my request well but if somebody knows what I mean and have a function that could do that please tell me.
Baptiste
2 comentarios
Jan
el 19 de Nov. de 2018
Please explain, what "my lines have values from 0 tp 10" means exactly. Lines do not have values implicitly.
If you post the inputs and the code you have tried so far, suggesting a modification is much easier than with guessing your data and what you exactly want. Please edit the original question to add more details.
Baptiste Tarbouriech
el 19 de Nov. de 2018
Respuestas (1)
Jan
el 19 de Nov. de 2018
0 votos
For plot3 you can use the FEX submission https://www.mathworks.com/matlabcentral/fileexchange/5735-plot3c . For contour whould setting the Colormap of the axes work?
Categorías
Más información sobre Contour Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!