Graphics, Figures & TablesEffects of different Labels

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
minidiable
Posts: 30
Joined: Tue Nov 13, 2012 4:18 pm

Effects of different Labels

Post by minidiable »

Hi to all,

I would like to understand what is the difference between writing this:

Code: Select all

\begin{figure}[h]
   \centering
   \includegraphics[width=150mm]{pics/DeportanceForces.eps}
   \caption{Plot of the Forces on 3 axis (xyz) and of the Yaw Angle}
   \label{pics:deportance}
\end{figure}
and this:

Code: Select all

\begin{figure}[h]
   \centering
   \includegraphics[width=150mm]{pics/DeportanceForces.eps}
   \caption{Plot of the Forces on 3 axis (xyz) and of the Yaw Angle}
   \label{fig:deportance}
\end{figure}
Thanks a lot,
Fab.

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Effects of different Labels

Post by Johannes_B »

Hi,

the label is a thing completely given by you. You can call them everything you want. If you choose fig or pic is your decision, but you should keep it that way and stay consistent.


Best regards
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
minidiable
Posts: 30
Joined: Tue Nov 13, 2012 4:18 pm

Re: Effects of different Labels

Post by minidiable »

Thanks a lot!
Post Reply