Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4018608
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:00:15+00:00 2026-05-20T10:00:15+00:00

How do I change the resolution of my MATLAB graphs? The default seems to

  • 0

How do I change the resolution of my MATLAB graphs? The default seems to be 96×96 PPI.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:00:16+00:00Added an answer on May 20, 2026 at 10:00 am

    You can save using the print command; here’s how:

    h1=figure;
    your plotting commands here
    
    print(h1,'-djpeg','-r150','filename')
    

    The -r150 argument sets the resolution to 150 DPI. you can set it higher or lower depending on your need. This is assuming you’re saving as a JPEG. If not, there are other options such as -dpng for PNG, -dbmp for 24-bit bitmap, etc. more can be found in the help section for print.

    That said, if your plot consists only of lines, I would recommend using -depsc which saves it as an EPS file, which is scalable and lossless. You also won’t have to define a resolution, so you can simply do

    print(h1,'-depsc','filename')

    You can convert this EPS file to PDF and retain the same resolution, yet have portability between applications and platforms. I wouldn’t recommend saving to PDF directly as MATLAB puts additional white spaces around the plot, wheras the EPS bounding box is tight, and looks neat.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a C# developer and I have to change my display resolution regularly. There
What happens during a display mode change (resolution, depth) on an ordinary computer? (classical
How can I change the resolution of the phone representing the code when in
Is there any crossplatform way (Windows, Linux, MacOSX) to change screen resolution? Neither Java
I want to Change Screen resolution when my application launches .My form size is
I want to change the resolution of the .bmp image in python. ( i.e.
How can I change the resolution to be greater than 640x480 for video capture?
I need to change the resolution of the existing image in objective-c just like
I found multiple ways to change the resolution of an image using convert :
I have an image with resolution 1920X1080 pixels of resolution.I want to change its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.