Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to display image wihtout ANY margins ??????
Replies: 3   Last Post: Apr 17, 2013 8:13 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Vihang Patil

Posts: 442
Registered: 3/29/05
Re: How to display image wihtout ANY margins ??????
Posted: Sep 10, 2007 7:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Markus Buehren" <mb_REMOVEmatlab@gmxTHIS.de> wrote in
message <fbvfgv$cll$1@fred.mathworks.com>...
> Doesn't set(gca, 'Position', [0 0 1 1]) help?
>
> Markus
>
>

Is this what you want..

I = imread('cameraman.tif');
imshow(I);
iptsetpref('ImshowBorder','tight')
figure,imshow(I);

HTH
Vihang



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.