\cancel mode verify ! bar_chart2.jnl ! 4/94 ! bug fixes 8/94: use "ppl yaxis" to set lower plot bound ! use "ppl xaxis" to make X axis wide enough ! bug fix 12.98: overlay/vs -> overlay>overlay/vs *jd* per *sh* ! Description: Make a bar chart using hollow rectangles ! Usage: ! GO bar_chart2 plot_command expression [axis] ["overlay"] [lower_bound] ! 1 plot_command - "PLOT" with its qualifiers ! 2 expression - a line of data (oriented along "axis") to be bar-charted ! 3 axis - "X", "Y", "Z", or "T" ! 4 overlay - "OVERLAY" or " " or "CLEAR" ! 5 lower_bound - the bottom of the bar chart (default = below min data) ! Example: ! yes? SET DATA coads_climatology ! yes? SET REGION/L=1/Y=40S:40N/X=110W ! yes? GO bar_chart2 PLOT/LINE=1 sst Y ! yes? GO bar_chart2 PLOT/LINE=2 sst[x=90w] Y overlay ! Note: To use a T axis requires CANCEL MODE CALENDAR ! Note: as of 4/25/94 this routine has a bug and the first bar is missing. ! Kludge sol'n is to plot one extra bar at the beginning ! check for required args QUERY/IGNORE $1%vs|overlay>overlay/vs|"/@bar/D=bar_plot.dat bar_px,bar_py SET GRID/SAVE SET REGION save