Generalepstopdf | Axis Scale missing in Plot

General information and discussion about TeXnicCenter
prince8889
Posts: 19
Joined: Mon Feb 27, 2012 11:01 pm

Re: epstopdf | Axis Scale missing in Plot

Post by prince8889 »

Any solution so far please help me guys.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

epstopdf | Axis Scale missing in Plot

Post by justdeath »

First, your example did not compile.

Second, to use the eps you need to compile with "latex" only.

Third, if you want a pdf output, convert the graphic first with:

Code: Select all

epstopdf log.eps
See attachment. Also you must use \includegraphics, not \epsfig.

This is your repaired code:

Code: Select all

\documentclass[a4wide,11pt]{article}
\usepackage{amsmath,amssymb,amstext,mathtools}
\usepackage{graphicx}

\begin{document}

\title{Short Time Fourier Transform(STFT)}
\author{me}
\maketitle

\section{Introduction}
In situation where the signal is non stationary i.e, when amplitude and phase change with time,
we cannot apply
\begin{figure}[!ht]
\centering
\caption{Example}
\includegraphics[scale=0.8]{log}
%\epsfig{file=log,width=10cm,height=8cm}
\label{fig1}
\end{figure}

\end{document}
And I definitely do not understand what is missing, maybe send a file in which the problem is clearly visible.

Finally, make a zip file next time (rar is a headache).

Nikolay
Attachments
t46linux.pdf
(232.02 KiB) Downloaded 387 times
log.pdf
(192.9 KiB) Downloaded 342 times
prince8889
Posts: 19
Joined: Mon Feb 27, 2012 11:01 pm

Re: epstopdf | Axis Scale missing in Plot

Post by prince8889 »

Thanks a ton for your help but know I know what my real problem is when I check the pdf file on the latex window immediatly after running it the .eps image has no scalings but when I open separately the pdf file looks perfect with the readings. For better understanding please look at the attachments.
Attachments
This is how it looks in the latex window
This is how it looks in the latex window
latex-view.png (142.83 KiB) Viewed 6663 times
stftlatest.pdf
This is how it looks when only the pdf file is opened
(231.88 KiB) Downloaded 296 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: epstopdf | Axis Scale missing in Plot

Post by Stefan Kottwitz »

So it seems to be a problem of the PDF viewer software. If there are display problems it's always recommendable to test with a different viewer, such as the Acrobat Reader, not every previewer supports each PDF feature - or simply print it for testing.

Stefan
LaTeX.org admin
prince8889
Posts: 19
Joined: Mon Feb 27, 2012 11:01 pm

Re: epstopdf | Axis Scale missing in Plot

Post by prince8889 »

yeah I am perfectly clear now thanks for your help.
Last edited by prince8889 on Mon Mar 12, 2012 8:08 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

epstopdf | Axis Scale missing in Plot

Post by Stefan Kottwitz »

Use the epstopdf script or the LaTeX package with the same name (epstopdf-pkg). Follow the links (or click: epstopdf) to see the documentation.

Stefan
LaTeX.org admin
Post Reply