plot 3d graph

Hi I am trying to plot a graph with a matrix. I have a 10 by 10 diagonal matrix and I am trying to plot a 3d graph. Its base should be a flat square grid and the values on diagonal elements should be projected upwards. like a flat plane and a diagonal wall with pointy top in middle, kind of like a sail. just like this top fin but diagonally. Could someone help me with the code? In my matrix, all diagonal elements are around 50000 and all other values are 0.

2 Commenti

KSSV
KSSV il 24 Nov 2020
Modificato: KSSV il 24 Nov 2020
Why did you chose MATLAB for this? Does your data look like the attched pciture when you plot?
Jithin D Mathew
Jithin D Mathew il 24 Nov 2020
I want the plot to look like the fin of this fish on a flat grid. The diagonal values are large and should stand upwards like the fin of the fish.

Accedi per commentare.

Risposte (0)

Prodotti

Release

R2020a

Richiesto:

il 24 Nov 2020

Commentato:

il 24 Nov 2020

Community Treasure Hunt

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

Start Hunting!

Translated by