Hi Michael,
I'm often using -layout=x,y with sddsplot in order to have several panels on one plot.
However I couldn't find this option for sddscontour. Is therefore only one panel per plot supported for sddscontour?
Thanks a lot!
Cheers,
Slava
sddscontour multiple panels
Moderators: cyao, michael_borland
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sddscontour multiple panels
Slava,
sddscontour does support the layout option. It appears in the usage message, but is missing from the on-line manual. Sorry for the confusion.
--Michael
sddscontour does support the layout option. It appears in the usage message, but is missing from the on-line manual. Sorry for the confusion.
--Michael
Re: sddscontour multiple panels
Hi Michael,
thanks for very fast response!
Does it also support plot requests from different files? With sddsplot I do the following:
sddsplot -thickness=$T -layout=2,2 -split=page -separate=page \
-col=s,"beta*" -legend $LINE $1.twi $MAGNETS -title='$gb$r-functions' -topTitle -end \
-col=s,"(enx,eny)" -legend $LINE $1.sig $MAGNETS -title='Trace-space emittance' -topTitle -tickSettings=yfactor=1e6 -end \
-col=s,"(St)" -legend $LINE $1.sig $MAGNETS -title='Bunch temporal RMS' -topTitle -tickSettings=yfactor=1e15 -end \
-col=s,"(Sx,Sy)" -legend $LINE $1.sig $MAGNETS -title='RMS beam size' -topTitle -tickSettings=yfactor=1e6
but something along these lines with sddscontour didn't work right away:
sddscontour -thickness=$T -layout=2,2 \
$1.tp.h2d -shade=100 -noLabels -end \
$1.xxp.h2d -shade=100 -noLabels -end \
$1.yyp.h2d -shade=100 -noLabels -end \
$1.xy.h2d -shade=100 -noLabels
What am I doing wrong? Thanks!
Slava
thanks for very fast response!
Does it also support plot requests from different files? With sddsplot I do the following:
sddsplot -thickness=$T -layout=2,2 -split=page -separate=page \
-col=s,"beta*" -legend $LINE $1.twi $MAGNETS -title='$gb$r-functions' -topTitle -end \
-col=s,"(enx,eny)" -legend $LINE $1.sig $MAGNETS -title='Trace-space emittance' -topTitle -tickSettings=yfactor=1e6 -end \
-col=s,"(St)" -legend $LINE $1.sig $MAGNETS -title='Bunch temporal RMS' -topTitle -tickSettings=yfactor=1e15 -end \
-col=s,"(Sx,Sy)" -legend $LINE $1.sig $MAGNETS -title='RMS beam size' -topTitle -tickSettings=yfactor=1e6
but something along these lines with sddscontour didn't work right away:
sddscontour -thickness=$T -layout=2,2 \
$1.tp.h2d -shade=100 -noLabels -end \
$1.xxp.h2d -shade=100 -noLabels -end \
$1.yyp.h2d -shade=100 -noLabels -end \
$1.xy.h2d -shade=100 -noLabels
What am I doing wrong? Thanks!
Slava
-
- Posts: 2008
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sddscontour multiple panels
Slava,
Alas, it doesn't support plot requests. You can combine all the data into a single file using sddscombine, which will work when the data has the same columns and parameters. Otherwise, we've sometimes used the ImageMagick tools or latex subfigure features to form a grid of contour plots.
--Michael
Alas, it doesn't support plot requests. You can combine all the data into a single file using sddscombine, which will work when the data has the same columns and parameters. Otherwise, we've sometimes used the ImageMagick tools or latex subfigure features to form a grid of contour plots.
--Michael