×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Need help using exportfig

Need help using exportfig

Need help using exportfig

(OP)
Hi, I am trying to use exportfig but for some reason it's not working as well as I had hoped. My code to output a figure is:
 
set(gcf, 'Units', 'Inches')

exportfig(gcf,[filename '-Impedance Channel 1 to Channel ' num2str(inst-1)], 'format', 'eps','width', 6,'height',6, 'color','rgb', 'lockAxes', 0, 'bounds','tight', 'FontMode', 'fixed');

I know eps is by far the best quality graphic. However, when I import these figures into word 2007 the graphic is (for lack of a better term) messed up. The plot displayed in word is slightly different than the one shown when output from matlab. However, if I just straight convert the eps figure to a PDF it comes out perfectly... is this something unique to word 07?

Also, I change the format to jpeg and for some reason the graphic size is always like 50" x 50"... it doesn't seem to matter what width/height I set

I want to use high quality images, however my documents are prepared in word, so I will need something that will work with word.

Any thoughts? Am I using exportfig correctly?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources