I want to save an image with imwrite and get the same output as the code below displays on screen
Is it possible to set a caxis property for imwrite?
EDIT: I have included the full code. Basically, I want the last image RGB to look the same as that displayed by imagesc at each stage.
Inner = 0;
rOuter = 150;
[x, y] = meshgrid(-rOuter:.1:rOuter);
[theta, rho] = cart2pol(x, y);
rhoi2(rhoi2<.55) = .55;
rhoi2(rhoi2> .95) = .95;