Graphics, Figures & Tables ⇒ pgfplots | Problems in LyX on Mac
-
Andrew Lindsay
- Posts: 3
- Joined: Wed Jun 29, 2011 12:37 pm
pgfplots | Problems in LyX on Mac
I am using Lyx and pgfplot to write a report.
When I start a new section with a graph just below the introduction text, the intro text and section header are moved below the graph, no matter what I do, the graph keeps on 'floating' to the top of the page.
How do I force the graph to stay 'in-line' or after the section title and paragraph of text?
Any assistance would be greatly appreciated.
Regards
Andrew Lindsay
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pgfplots | Problems in LyX on Mac
Code: Select all
\begin{figure}[!ht]
% figure content
\end{figure}Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
Andrew Lindsay
- Posts: 3
- Joined: Wed Jun 29, 2011 12:37 pm
Re: pgfplots | Problems in LyX on Mac
that worked perfectly. The pgfplot is placed in as Latex coe, so it was just a simple matter of adding the [!ht].
Andrew