herbert,<br>
<br>
your solution for the 6 panel display worked fantastically and i am
very grateful for your response. for anyone interested, i attach
the tex file, as well as the compiled postscript, illustrating a six
panel display.<br>
<br>
thanks very much,<br>
andrew<br>
<br>
<br><br><div><span class="gmail_quote">On 9/9/06, <b class="gmail_sendername">Herbert Voss</b> <<a href="mailto:LaTeX@zedat.fu-berlin.de">LaTeX@zedat.fu-berlin.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Andrew Enterline wrote:<br><br>> i'm a pstricks user interested creating multipanel displays (i.e., 4 or<br>> 6 separate line plots arranged side-by-side on a single page). although<br>> i fooled with minipage some, i haven't been able to achieve a
<br>> side-by-side arrangement. below, i'm pasting the code that i've used to<br>> create two separate line plots (a postscript of the compiled plots is<br>> attached). does anyone know how to achieve the multipanel format? i'd
<br>> very much appreciate help with my own code or an example that will<br>> illustrate the fix.<br><br>you can use the subfig package or the minipage environment<br>together with the \resizebox command.<br><br>Herbert
<br><br>\documentclass[12pt]{article}<br>\usepackage{pst-plot}<br>\usepackage{caption,subfig,graphicx}<br>\captionsetup[figure]{position=top}<br><br>\def\data{1 0<br>2 0 3 -0.8 4 -0.88190155 5 -0.91371914 6 -0.9257962
7<br>-0.93899541 8 -0.93357528 9 -0.93287236 10 -0.94071641 11<br>-0.93627821 12 -0.9264599 13 -0.90910625 14 -0.89491569 15<br>-0.91643641 16 -0.93481277 17 -0.94319856 18 -0.95191231 19<br>-0.95818646 20 -0.96288146
21 -0.9665351 22 -0.96946525 23<br>-0.97109424 24 -0.97003626 25 -0.96780662 26 -0.96415888 27<br>-0.95867213 28 -0.95067902 29 -0.93915236 30 -0.92253831 31<br>-0.89853476 32 -0.86385869 33 -0.81417129 34 -0.76860219
35<br>-0.76218947 36 -0.81789845 }<br>\def\datab{1 0<br>2 0 3 0.0175439 4 0.0166594 5 0.0334057 6 0.0318283 7<br>0.0545219 8 0.1200221 9 0.1571008 10 0.1801961 11 0.1927926 12<br>0.2020815 13 0.1965785
14 0.2068912 15 0.2216921 16 0.2371183 17<br>0.2360609 18 0.23064 19 0.2200617 20 0.204856 21 0.1877612 22<br>0.1831834 23 0.2373815 24 0.232248 25 0.2222152 26 0.2077539 27<br>0.1974546 28 0.1994574 29 0.3512563
30 0.3525538 31 0.3587744 32<br>0.3892896 33 0.4516209 34 0.4967693 35 0.5139254 36 0.5094636}<br>\def\datc{1 0<br>2 0 3 -0.8 4 -0.77636229 5 -0.72302494 6 -0.85781332 7<br>-0.82451556 8 -0.74024564 9 -
0.57376906 10 -0.33120184 11<br>-0.12425333 12 -0.41499973 13 -0.82190447 14 -0.88977912 15<br>-0.91751982 16 -0.91601934 17 -0.93225145 18 -0.92735786 19<br>-0.93612978 20 -0.94590167 21 -0.94147545 22 -0.94045111
23<br>-0.93599441 24 -0.92613582 25 -0.90871322 26 -0.87977818 27<br>-0.83281575 28 -0.7584458 29 -0.64696293 30 -0.59184783 31<br>-0.84282195 32 -0.90037193 33 -0.90888729 34 -0.90568924 35<br>-0.8945038 36 -0.87371292
}<br><br>\def\datad{1<br>2
0 3 0 4 0 5 0 6 0
7 0 8 0 9 0 10 0
11 0.0037357<br>12 0.0100133 13 0.0078156 14 0.016627 15 0.0210046 16 0.0178376<br>17 0.0192925 18 0.0236826 19 0.0420799 20 0.0378221 21 0.0305156<br>22 0.0220562 23 0.01683 24 0.0387297 25 0.0357437 26 0.0351332
<br>27 0.0326168 28 0.037429 29 0.0352412 30 0.0312296 31 0.028663<br>32 0.0334667 33 0.0317155 34 0.0284753 35 0.0242096 36<br>0.0192314}<br><br>\begin{document}<br><br>\begin{figure}[!htb]<br>\subfloat[United States--Russia Dyad,\newline
<br>1965--2000.\label{usarus_dyad}]{%<br>\resizebox{0.475\linewidth}{!}{%<br>\psset{xunit=.27, yunit=4.5}% to get 10cm x 10cm with the data values<br>\begin{pspicture}(-7,-1)(36,1)<br> \psaxes[tickstyle=bottom,Ox=1965,Dx=5,Dy=.25](0,0)(0,-1)(36,1)
<br> \listplot[linecolor=red,linewidth=1pt]{\data}%<br> \listplot[linecolor=blue,linewidth=1pt]{\datab}%<br> \rput{90}(-7,-0.5){Conflict}<br> \rput{90}(-7,0.5){Cooperation}<br>\end{pspicture}<br>}}\hfill%<br>\subfloat[United States--North Korea Dyad,\newline
<br>1965--2000.\label{usarnkor_dyad}]{%<br>\resizebox{0.475\linewidth}{!}{%<br>\psset{xunit=.27, yunit=4.5}% to get 10cm x 10cm with the data values<br>\begin{pspicture}(-7,-1)(36,1)<br> \psaxes[tickstyle=bottom,Ox=1965,Dx=5,Dy=.25](0,0)(0,-1)(36,1)
<br> \listplot[linecolor=red,linewidth=1pt]{\datc}%<br> \listplot[linecolor=blue,linewidth=1pt]{\datad}%<br> \rput{90}(-7,-0.5){Conflict}<br> \rput{90}(-7,0.5){Cooperation}<br>\end{pspicture}<br>}}<br>\end{figure}
<br><br>\newpage<br><br>\begin{figure}[!htb]<br>\captionsetup{font=small}<br>\begin{minipage}{0.475\linewidth}<br>\caption{United States--Russia Dyad,\newline 1965--2000.}\label{usarus_dyad}<br>\resizebox{\linewidth}{!}{%
<br>\psset{xunit=.27, yunit=4.5}% to get 10cm x 10cm with the data values<br>\begin{pspicture}(-7,-1)(36,1)<br> \psaxes[tickstyle=bottom,Ox=1965,Dx=5,Dy=.25](0,0)(0,-1)(36,1)<br> \listplot[linecolor=red,linewidth=1pt]{\data}%
<br> \listplot[linecolor=blue,linewidth=1pt]{\datab}%<br> \rput{90}(-7,-0.5){Conflict}<br> \rput{90}(-7,0.5){Cooperation}<br>\end{pspicture}<br>}<br>\end{minipage}\hfill%<br>\captionsetup{singlelinecheck=off}<br>\begin{minipage}{
0.475\linewidth}<br>\caption{\rlap{United States--North Korea Dyad},<br> \newline 1965--2000.}\label{usarnkor_dyad}<br>\resizebox{\linewidth}{!}{%<br>\psset{xunit=.27, yunit=4.5}% to get 10cm x 10cm with the data values
<br>\begin{pspicture}(-7,-1)(36,1)<br> \psaxes[tickstyle=bottom,Ox=1965,Dx=5,Dy=.25](0,0)(0,-1)(36,1)<br> \listplot[linecolor=red,linewidth=1pt]{\datc}%<br> \listplot[linecolor=blue,linewidth=1pt]{\datad}%<br> \rput{90}(-7,-
0.5){Conflict}<br> \rput{90}(-7,0.5){Cooperation}<br>\end{pspicture}<br>}<br>\end{minipage}<br>\end{figure}<br><br>\end{document}<br><br><br>_______________________________________________<br>pstricks mailing list<br><a href="mailto:pstricks@tug.org">
pstricks@tug.org</a><br><a href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a><br></blockquote></div><br>