% Version avec la légende en-dessous du graphique (pour une présentation minipage avec un autre graphique à côté). % \newpsbarstyle{couleurc0}{fillcolor=trumatchc0,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc1}{fillcolor=trumatchc1,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc2}{fillcolor=trumatchc2,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc3}{fillcolor=trumatchc3,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc4}{fillcolor=trumatchc4,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc5}{fillcolor=trumatchc5,fillstyle=solid,framearc=0}% \newpsbarstyle{couleurc6}{fillcolor=trumatchc6,fillstyle=solid,framearc=0}% % \newpsbarstyle{dcouleurc0}{fillcolor=trumatchc0,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc1}{fillcolor=trumatchc1,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc2}{fillcolor=trumatchc2,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc3}{fillcolor=trumatchc3,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc4}{fillcolor=trumatchc4,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc5}{fillcolor=trumatchc5,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% \newpsbarstyle{dcouleurc6}{fillcolor=trumatchc6,fillstyle=hlines*,hatchwidth=.1pt,hatchsep=6pt,framearc=0}% % % % --> si côte à côte \begin{minipage}[t]{.48\textwidth} \begin{center} % % -->si fichier séparé % \noindent\begin{figure} % % données du fichier DepParMatiere2003_2007.csv contenant % ligne 1 : 2003 , 2004 , 2005 , 2006, 2007 % ligne 2 : données pour Matières premières % ligne 3 : données pour Divers % ligne 4 : données pour Equipement % ligne 5 : données pour Locaux-infrastructure % ligne 6 : données pour Communication % ligne 7 : données pour Missions % ligne 8 : données pour CDD, bourses, indemnités \addtolength{\tabcolsep}{-1ex} \begin{tabular}{cclcl} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \raisebox{3ex}{\rotateleft{\small Dépenses du \acs{LIPN} sur 2003-2006 et provisoire 2007 (euros)}} & \multicolumn{4}{l}{ \scalebox{0.70}{ \psset{xunit=1.20cm,yunit=.00001cm} \psset{yticksize=0 5.92cm} %\def\psvlabel#1{#1\,\%} \begin{pspicture}(-1.1,-50000)(5.2,820000) \psframe[fillstyle=solid,fillcolor=black!10,linestyle=none](-1.1,-50000)(5.2,780000) % \psaxes[axesstyle=frame,ticks=y,labels=y,Ox=0,Oy=0,Dx=1,Dy=50000]{->}(0,0)(0,0)(5,700000) \psaxes[ticks=y,labels=y,Ox=0,Oy=0,Dx=1,Dy=50000]{->}(0,0)(0,0)(5.1,770000) \readpsbardata[header=true]{\data}{inputs/LIPN/DATA/DepParMatiere2003_2006.csv} \psbarchart[barstyle={couleurc0,couleurc1,couleurc2,couleurc3,couleurc4,couleurc5,couleurc6},chartstyle=stack]{\data} \readpsbardata[header=false]{\data}{inputs/LIPN/DATA/DepParMatiere2007.csv} \psbarchart[barstyle={dcouleurc0,dcouleurc1,dcouleurc2,dcouleurc3,dcouleurc4,dcouleurc5,dcouleurc6},chartstyle=stack]{\data} \end{pspicture} } } \\ &\colorbox{trumatchc6}{\framebox[3mm]{}} & {\footnotesize CDD, bourses} & \colorbox{trumatchc5}{\framebox[3mm]{}} & {\footnotesize Missions} \\ &\colorbox{trumatchc4}{\framebox[3mm]{}} & {\footnotesize Communication} & \colorbox{trumatchc3}{\framebox[3mm]{}} & {\footnotesize Infrastructure} \\ &\colorbox{trumatchc2}{\framebox[3mm]{}} & {\footnotesize Equipement} & \colorbox{trumatchc1}{\framebox[3mm]{}} & {\footnotesize Divers} \\ &\colorbox{trumatchc0}{\framebox[3mm]{}} & {\footnotesize Matières premières} \end{tabular} \addtolength{\tabcolsep}{1ex} % % -->si fichier séparé % \caption{Dépenses du \acs{LIPN} sur 2003-2006 et provisoire 2007 (euros)} % \label{fig:DepParMatiere0307Labo} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \end{figure} % % --> si côte à côte \end{center} \end{minipage}