Issue with getframe()
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Turbulence Analysis
el 26 de En. de 2024
Comentada: Turbulence Analysis
el 26 de En. de 2024
I am saving the images generated inside the for loop using getframe () command. I have the following two issues.
- I couldn't change the colormap
- As shown in the image, double tick marks are appearing on the axis values
Any idea how to get rid of this?
0 comentarios
Respuestas (1)
Walter Roberson
el 26 de En. de 2024
The image is RGB; you cannot change the colormap on RGB images.
The image has tick marks drawn into it. When you image() or imagesc() it, the axes gets drawn including tick marks for the axes, which do not happen to line up with the tick marks that are part of the image. If you imshow(x3) then the axes will not be drawn.
Ver también
Categorías
Más información sobre Red en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!