- Questo topic ha 5 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 8 anni, 6 mesi fa da .
-
Topic
-
Buonasera a tutti,Chiedo scusa in anticipo sapendo che l’argomento è stato trattato molte volte.
Il mio problema riguarda l’impaginazione di una serie di grafici (tre per l’esattezza) in un’unica pagina. La pagina deve però necessariamente contenere il titolo di un sottoparagrafo (\subparagraph{}) e, laddove cambio argomento, anche il titolo del paragrafo. Il problema è che nella pagina non entrano sia i titoli che i grafici (che ho “unito” attraverso l’ambiente figure e subfloat). Ho provato a forzare la posizione della figura attraverso “h!” oppure “H”, ma non si risolve il problema: al massimo entrano nella stessa pagina il titolo del sottoparagrafo e i grafici ma questi ultimi precedono il titolo stesso. Ho provato ad utilizzare l’ambiente center al posto di figure, ma in questo modo i grafici sono molto vicini, non garantendo la necessaria distanza tra un grafico e l’altro garantita da subfloat.Allego il codice:
`\section{Risultati numerici}
\label{sec:risnum}
Scrivere descrizione
\newpage
\subsection{Titolo subsection}
\paragraph{Travi}
\subparagraph{Sezioni di estremità}
\begin{figure}[htp]
\centering
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=4,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di estemità, T=\SI{10}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(7.73,1)(7.90,2)(7.38,3)(7.59,4)(9.18,5)(6.09,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(11.99,1)(11.46,2)(9.57,3)(9.16,4)(10.17,5)(6.40,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(12.01,1)(11.49,2)(9.56,3)(9.16,4)(10.16,5)(6.42,6)};
…
\addplot[purple, thick,mark=*]coordinates{(11.16,1)(11.09,2)(9.21,3)(8.89,4)(9.98,5)(6.31,6)};
…
\addplot[orange, thick,mark=*]coordinates{(12.82,1)(12.19,2)(10.0,3)(9.47,4)(10.39,5)(6.52,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat{
\begin{tikzpicture}
\begin{axis}[xmin=4,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di estemità, T=\SI{20}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(6.26,1)(6.68,2)(6.44,3)(6.74,4)(9.10,5)(6.05,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(8.88,1)(8.83,2)(8.02,3)(8.04,4)(9.44,5)(6.23,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(9.09,1)(8.99,2)(8.13,3)(8.14,4)(9.48,5)(6.25,6)};
…
\addplot[purple, thick,mark=*]coordinates{(9.23,1)(9.17,2)(8.35,3)(8.22,4)(9.53,5)(6.28,6)};
…
\addplot[orange, thick,mark=*]coordinates{(9.60,1)(9.43,2)(8.40,3)(8.31,4)(9.62,5)(6.31,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=4,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di estemità, T=\SI{25}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(5.63,1)(6.03,2)(5.89,3)(6.25,4)(9.04,5)(6.16,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(8.08,1)(8.20,2)(7.57,3)(7.74,4)(9.26,5)(6.12,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(8.06,1)(8.17,2)(7.55,3)(7.72,4)(9.24,5)(6.13,6)};
…
\addplot[purple, thick,mark=*]coordinates{(8.30,1)(8.39,2)(7.70,3)(7.83,4)(9.31,5)(6.14,6)};
…
\addplot[orange, thick,mark=*]coordinates{(8.6,1)(8.68,2)(7.93,3)(7.99,4)(9.40,5)(6.21,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}}
\caption*{}
\label{fig:dutttrvestrmorb}
\end{figure}\paragraph{Sezioni intermedie}
\begin{figure}[htp]
\centering
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=10,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni intermedie, T=\SI{10}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(4.09,1)(6.09,2)(5.68,3)(7.08,4)(1.58,5)(2.59,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(8.75,1)(7.60,2)(6.41,3)(9.43,4)(2.28,5)(3.66,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(8.75,1)(7.67,2)(6.40,3)(9.37,4)(2.26,5)(3.05,6)};
…
\addplot[purple, thick,mark=*]coordinates{(8.40,1)(7.39,2)(6.31,3)(8.88,4)(2.21,5)(3.10,6)};
…
\addplot[orange, thick,mark=*]coordinates{(9.50,1)(8.17,2)(6.50,3)(9.56,4)(2.34,5)(3.18,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat{
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=10,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni intermedie, T=\SI{20}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(2.59,1)(5.52,2)(5.11,3)(5.81,4)(1.50,5)(2.26,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(5.49,1)(6.45,2)(5.98,3)(7.91,4)(1.89,5)(2.77,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(5.75,1)(6.48,2)(5.98,3)(8.06,4)(1.93,5)(2.82,6)};
…
\addplot[purple, thick,mark=*]coordinates{(5.99,1)(6.53,2)(6.01,3)(8.18,4)(1.96,5)(2.82,6)};
…
\addplot[orange, thick,mark=*]coordinates{(6.33,1)(6.63,2)(6.05,3)(8.36,4)(2.03,5)(2.82,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=10,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni intermedie, T=\SI{25}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(2.02,1)(5.21,2)(4.84,3)(5.11,4)(1.34,5)(2.28,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(4.53,1)(6.19,2)(5.78,3)(7.35,4)(1.68,5)(2.66,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(4.50,1)(6.19,2)(5.78,3)(7.35,4)(1.70,5)(2.67,6)};
…
\addplot[purple, thick,mark=*]coordinates{(4.80,1)(6.26,2)(5.84,3)(7.51,4)(1.75,5)(2.70,6)};
…
\addplot[orange, thick,mark=*]coordinates{(5.25,1)(6.35,2)(5.91,3)(7.80,4)(1.85,5)(2.76,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\caption*{}
\label{fig:dutttrvintmorb}
\end{figure}\paragraph{Sezioni di mezzeria}
\begin{figure}[htp]
\centering
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di mezzeria, T=\SI{10}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(0.79,1)(1.38,2)(1.84,3)(0.96,4)(9.90,5)(12.61,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(1.99,1)(2.97,2)(2.54,3)(1.38,4)(10.68,5)(12.78,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(1.96,1)(2.91,2)(2.52,3)(1.41,4)(10.71,5)(12.75,6)};
…
\addplot[purple, thick,mark=*]coordinates{(1.89,1)(2.70,2)(2.39,3)(1.26,4)(10.42,5)(12.66,6)};
…
\addplot[orange, thick,mark=*]coordinates{(02.18,1)(3.07,2)(2.63,3)(1.49,4)(10.85,5)(12.83,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat{
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di mezzeria, T=\SI{20}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(0.76,1)(1.20,2)(1.50,3)(0.86,4)(10.05,5)(12.58,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(1.03,1)(1.72,2)(2.10,3)(1.05,4)(9.96,5)(12.63,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(1.11,1)(1.82,2)(2.15,3)(1.07,4)(10.03,5)(12.61,6)};
…
\addplot[purple, thick,mark=*]coordinates{(1.16,1)(1.98,2)(2.19,3)(1.09,4)(10.08,5)(12.60,6)};
…
\addplot[orange, thick,mark=*]coordinates{(1.27,1)(2.11,2)(2.26,3)(1.12,4)(10.15,5)(12.57,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\subfloat {
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=14,
ymin=1,ymax=6,grid=major,
xlabel=$\mu_{\chi,R}$,ylabel=Piano,
title={Sezioni di mezzeria, T=\SI{25}{\degreeCelsius}},
width=8.5cm,height=7cm,
legend style={anchor=north,
at={(1.40,0.80)}}
]
…
\addplot[green!80!blue, thick,mark=*]coordinates{(0.74,1)(1.07,2)(1.37,3)(0.83,4)(10.21,5)(12.90,6)};
…
\addplot[cyan!67!green, thick,mark=*]coordinates{(0.84,1)(1.45,2)(1.92,3)(0.99,4)(9.90,5)(12.61,6)};
…
\addplot[blue!75!purple, thick,mark=*]coordinates{(0.84,1)(1.45,2)(1.93,3)(0.99,4)(9.88,5)(12.60,6)};
…
\addplot[purple, thick,mark=*]coordinates{(0.89,1)(1.51,2)(1.97,3)(1.00,4)(9.90,5)(12.60,6)};
…
\addplot[orange, thick,mark=*]coordinates{(0.97,1)(1.62,2)(2.06,3)(1.04,4)(9.94,5)(12.64,6)};
…
\legend{t=0 anni, t=25 anni, t=50 anni, t=75 anni, t=100 anni}
\end{axis}
\end{tikzpicture}} \quad
\caption*{}
\label{fig:dutttrvcentmorb}
\end{figure}
`Il mio preambolo è il seguente:
`\documentclass[12pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{bookmark}
\usepackage{float}
\usepackage{caption}
\usepackage{subfig}
\usepackage{verbatim}
\usepackage{appendix}
\usepackage{afterpage}
\usepackage{cases}
\usepackage{pgfplots}
\usepackage{siunitx}
\usepackage{geometry}
\usepackage[swapnames]{frontespizio}
\usepackage{fancyhdr}
\usepackage{hyperref}%%% IMPOSTAZIONI RIFERIMENTI INCROCIATI
\hypersetup{colorlinks=true, allcolors=blue}`Non vorrei diminuire le dimensioni dei grafici sia per motivi di rappresentazione grafica (si vedono meglio i risultati una volta stampati) , sia per non avere enormi spazi bianchi ai lati o laddove avrò una pagina senza nessun titolo.
- Devi essere connesso per rispondere a questo topic.