Filter löschen
Filter löschen

Regarding to my simulation model out put

3 Ansichten (letzte 30 Tage)
dhaval patel
dhaval patel am 21 Okt. 2019
Beantwortet: Aakriti Suman am 27 Mär. 2020
I have used following coding for resulting my data
load z1200
pcolor(z1200(2:end,2:end)'); shading flat;
pcolor(z1200'); shading flat;
axis('equal');
pcolor(z1200'); shading flat;
colormap jet
caxis([-0.5 0]); colorbar
and out put of my file is like images one but actual out put i need like image two , so how to reach image one to image two

Antworten (1)

Aakriti Suman
Aakriti Suman am 27 Mär. 2020
I understand that you want the colorbar to be like image 2 and not as that of image 1.
I am attaching a document link for your reference. It contains the information about the usage of colorbar.
You can also use colorcube instead of colormap to get the desired result. I am attaching a document link which contains about the usage of colorcube.

Kategorien

Mehr zu Colormaps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by