Borrar filtros
Borrar filtros

3D Mesh Graph

2 visualizaciones (últimos 30 días)
parnal patni
parnal patni el 30 de Nov. de 2018
Comentada: parnal patni el 4 de Dic. de 2018
Hello,
I have a table of X axis as cloumns and Y axis are rows and the cell values are Z axis, How can I plot a graph .
How to provide Z axis data in matlab ?
Below attached is my table of contents
  6 comentarios
Mark Sherstan
Mark Sherstan el 30 de Nov. de 2018
Please provide the actual data and not just an image we need to type in manually.
parnal patni
parnal patni el 3 de Dic. de 2018

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 3 de Dic. de 2018
Editada: KSSV el 3 de Dic. de 2018
[T,txt,raw] = xlsread('Table_for3DGraph.xlsx') ;
x = T(1,2:end) ;
y = T(2:end,1) ;
Z = T(2:end,2:end) ;
[X,Y] = meshgrid(x,y) ;
surf(X,Y,Z)
  1 comentario
parnal patni
parnal patni el 4 de Dic. de 2018
How to put legend depending on the colour shown in the graph?
Foe Example I need to put the colour and what it represents. What I need is not a colour map but instead put that colour shown in the range of number in colourmap separately.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by