General ⇒ Figure Scales
Re: Figure Scales
I hope this is the attachment you need
- Attachments
-
- buthesis.cls
- (8.25 KiB) Downloaded 376 times
Figure Scales
Yes, that's the one (I don't know why I confused
However, I don't see any problems when I compile your code (with a replaced image). Every figure has the same height and width... (see attachment)
sty
and cls
-- must be the heat).However, I don't see any problems when I compile your code (with a replaced image). Every figure has the same height and width... (see attachment)
site moderator & package author
Re: Figure Scales
Sorry I am unable to find it. Thanks for the help anyway.
Re: Figure Scales
Do you know any website I can find a solution?
Figure Scales
Does the below code work ok when you compile too?
Code: Select all
begin{table}[ht]
\centering
\begin{tabular}{l|l|l}
\hline
Variable & VIF & 1/VIF \\ \hline
CI & 1.42 & 0.705277\\
GM & 1.30 & 0.767683 \\
ln(PV) & 1.17 & 0.855562\\ \hline
\textbf{Mean VIF }& \textbf{1.30}\\
\hline
\end{tabular}
\caption{Test for multicollinearity for model 4}
\label{mullcon 4}
\end{table}
\\
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/histogram of residuals for model 4.png}}
\caption{Histogram of residuals for model 4}
\label{fig:histogram of residuals for model 4}
\end{figure}
\\
\begin{table}[ht]
\centering
\begin{tabular}{l|l|l|l|l|l}
\hline
Variable & Obs & W & V & z & Prob $>$ z \\ \hline
Residuals & 126 & 0.99308 & 0.694 & -0.821 & 0.79409\\
\hline
\end{tabular}
\caption{Shapiro-Wilk W test for normal data for model 4}
\label{SW 4}
\end{table}
\\
\begin{figure}
\scalebox{0.40}
{\includegraphics{C:/rvfplot for model 4.png}}
\caption{Residuals against fitted values for model 4}
\label{fig:Residuals against fitted values for model 4}
\end{figure}
\\
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Figure Scales
You are at the right website. 
I'm sure, the problem can be solved, if the information would be sufficient. For example, if you would post a small example with two such images as attachments which shows the effect when compiled. Having a test case leads usually to a solution.
Without further information, I just think you could use a fixed value for all pictures, such as
Stefan

I'm sure, the problem can be solved, if the information would be sufficient. For example, if you would post a small example with two such images as attachments which shows the effect when compiled. Having a test case leads usually to a solution.
Without further information, I just think you could use a fixed value for all pictures, such as
Code: Select all
\includegraphics[width=8cm]{name}
LaTeX.org admin
Figure Scales
On every other site they're going to ask you the same questions as I did. What you could do (and as I have suggested two times before) is attaching your images. They seem to be the source (provided your MWE still shows the undesired behaviour).
If I insert the code into the MWE, remove all the
Regards
If I insert the code into the MWE, remove all the
\\
(they're unnecessary and even raise errors) and replace the images with dummy ones,, then yes.Regards
site moderator & package author
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Figure Scales
Spaces in file names can be a problem. If the image won't be displayed, loadrainz wrote:Code: Select all
\scalebox{0.40} {\includegraphics{C:/histogram of residuals for model 4.png}}

Instead of
\scalebox
, you could use \resizebox
to get a fixed width or height.Stefan
LaTeX.org admin
Re: Figure Scales
2 images are attached they have the same dormat as I previously mentioned but different sizes. Also, the name of the file is displayed near the image. How can I remove that?
Thanks guys for helping. Sorry for any trouble you have been through.
Thanks guys for helping. Sorry for any trouble you have been through.
- Attachments
-
- image 2.jpg (37.54 KiB) Viewed 5858 times
-
- image 1.jpg (13.21 KiB) Viewed 5858 times
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Figure Scales
That's because of the spaces in the file name. As I suggested before, loadrainz wrote:the name of the file is displayed near the image. How can I remove that?
grffile
or rename it.Stefan
LaTeX.org admin