too many input arguments in my imshow statement.

1 view (last 30 days)
it works fine before the jet is added to the statement. Do i have to call it separately, and if so, how?
imshow(P,[],jet,'InitialMagnification',2000)

Answers (2)

Sattik Basu
Sattik Basu on 26 Nov 2017
i have received the answer to this thanks to Walter Robinson. just added the following lines after the imshow command.
imagesc(P)
colormap(jet)

Walter Roberson
Walter Roberson on 26 Nov 2017
imshow(P, jet, 'DisplayRange', [], 'InitialMagnification', 2000)

Community Treasure Hunt

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

Start Hunting!