Ciao Mari,
eccomi per la risposta alla prima domanda. Dunque, puoi fare così:
`\documentclass{standalone}
\usepackage{pgfplots}
%\pgfplotsset{width=7cm,compat=newest}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}[disabledatascaling,
legend columns=2,
width=.5\textwidth,
ylabel=FI,
xlabel=Sampling time,
%ymin=0 ymax=1,
title style={align=center},
title={Time course – 2Exp},
enlargelimits=.8,
symbolic x coords={$IRBCs$,$RBCs$},
xtick=data, xtick pos=left,
ymajorgrids=true,
legend style={at={(0.5,-0.25)},
anchor=north,legend columns=-1},
ybar,
%ymin=0,ymax=1,
bar width=5pt,
%bar shift=.7cm,
]
\addplot[top color=gray!15,
bottom color=gray,
draw=black]
coordinates {($IRBCs$,0.11008) ($RBCs$,0.130727)};
\addplot[top color=cyan!15,
bottom color=cyan,
draw=black]
coordinates {($IRBCs$,0.135983) ($RBCs$,0.121855)};
\addplot[top color=orange!15,
bottom color=orange,
draw=black]
coordinates {($IRBCs$,0.128493) ($RBCs$,0.142063)};
\addplot[top color=pink!15,
bottom color=pink,
draw=black]
coordinates {($IRBCs$,0.13353) ($RBCs$,0.127449)};
\legend{Control,qhs 12.5nM,qhs 25nM,qhs 50nM}
\end{axis}
\end{tikzpicture}
\end{document}`
Più incrementi il valore di [tt]enlargelimits,[/tt] minore sarà la distanza tra le barre (fissata la larghezza [tt]width[/tt] del grafico, ovviamente). Io l’ho variato da [tt].3[/tt] a [tt].8[/tt] e come puoi notare questa distanza diminuisce. Varia a piacere i valori di [tt]width[/tt] e di [tt]enlargelimits[/tt] per ottenere il risultato che desideri.
Ciao,
Marco.
P.S. Se trovo qualche altro metodo te lo farò sapere.