Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to get the correct size of an image

1 Ansicht (letzte 30 Tage)
S N RAY
S N RAY am 25 Jul. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have a data array 100 rows and 2000 columns. When I pick only 30 rows and 400 columns from the given array and plot with pcolor(filename);shading interp the resulting picture gives an impression of a stretched image.I think the default size of the plot window is the problem. I need help for understanding the problem so that I can plot the section with clear resolution.
  1 Kommentar
Jan
Jan am 25 Jul. 2012
pcolor(filename)?!

Antworten (1)

Sriram
Sriram am 25 Jul. 2012
To plot with the clear resolution check for axis scaling and appearence
pcolor() %pcolor(your array of cells)
axis equal tight
This would solve you and I hope there is no problem with plot window.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by