• Support PF! Buy your school textbooks, materials and every day products Here!

Matlab figure into latex

  • Thread starter sara_87
  • Start date
  • #1
763
0

Homework Statement



I am trying to attach a matlab figure in Latex

Homework Equations





The Attempt at a Solution



I saved the graph as .eps instead of .fig, then i opened ghostscript, and saw that the figure was too wide to fit on the page...
how can i mend this?

thank you
 

Answers and Replies

  • #2
hunt_mat
Homework Helper
1,720
16
There is the command \includegraphics[scale=0.5]{picture.eps}
Where is this case you have scaled the picture down by half.
 
  • #3
hunt_mat
Homework Helper
1,720
16
You also need \usepackacage{graphicx} in the preamble
 
  • #4
763
0
awesome :)

what if i need it even a bit smaller?
would i put scale=0.75?
or scale=0.25?

thanks
 
  • #5
763
0
i fixed it...
thank you
 
  • #6
hunt_mat
Homework Helper
1,720
16
scale=1 means the same shape, scale=0.5 os 50% reduced. scale=0.25 is 25% of the original scale etc...
 

Related Threads for: Matlab figure into latex

  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
8
Views
782
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
7
Views
1K
  • Last Post
Replies
5
Views
2K
Top