Graphics, Figures & Tablesafter export-error on this page, may not display the page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dor272
Posts: 1
Joined: Wed Oct 21, 2015 1:23 pm

after export-error on this page, may not display the page

Post by dor272 »

Hi,
i'm using Lyx and Miktex both in PC and laptop.

yesterday I added graph to my document on my PC and it worked great.
this morning when I tried to open it and export to PDF with my laptop I got an error from adobe reader "an error exists on this page, Acrobat may not display the page correctly".

I tried to reinstall everything on my laptop and it's still not working.
on top of all now I tried to export to PDF again on my PC and I get the same error.
when I delete the TeX code it exports perfectly.

under Preamble:

\usepackage{pgfplots}


TeX code:

Code: Select all

\begin{tikzpicture}
\begin{axis} [xlabel=$k$, ylabel=$y(k)$ ,
	legend pos=north west]
\addplot [green, line width = 1, smooth, domain=0:100] {100*1.02^x};
\legend {$y(k) = 100*1.02^k$};
\end{axis}
\end{tikzpicture}

how can I solve this?
Thanks.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply