Matlab drawing, remove the surrounding white edge _matlab

Source: Internet
Author: User

Matlab drawing out of the map, surrounded by a number of space areas, how to remove these unnecessary around the white side.


Method One:

Screenshot tool to take screenshots, save the image quality is very low, low resolution, can not be saved as a vector map, not recommended.


Method Two: (recommended)

The process of displaying the graph in MATLAB is to display the picture in the Way of Imshow (IMG), you can use the Imwrite (IMG, ' result.jpg ') function to save the picture, the Imwrite () function saves the picture four weeks does not contain the white edge.

If the plot () function draws a picture, because there is no picture handle, it cannot be saved using the Imwrite () function, with the Save button or the picture saved by File-save/save as containing white edges.


Method Three:

Use the Save button or File-save/save as to save the drawn picture, and then use Windows's own drawing tool software or the "beauty Mito" software to take a screenshot to remove the white edge.


Method Four: (recommended)

Matlab draw out the picture, perform "edit"-"axis adjustment", by clicking or double-clicking the black edge of the activation diagram, drag the edge line so that the middle of the diagram close to the edge, so you can "squeeze out" blank area, reduce white edge. Attention to the complete retention of Xlabel, Ylabel, legend, title and other content, do not remove the important content of the diagram.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.