Hi Yogesh,
I am just back from a vacation and I see this was never answered. To
use SHAKEY you need to call the SHADE command with the /SET_UP option:
shade/set v1
ppl shakey 1,,0.26, 4, 4, 8
ppl shade
Also, in general when using many plots in a window with the same
colorbar, it is a good idea to put just one colorbar somewhere on the
page rather than one for each plot. The shade key is located relative
to the current viewport, but it can be drawn on the page outside the
viewport. So with 9 viewports you might draw one shade key across the
top, or down one side of the page, and remove it from all the other
plots. For example to draw it across the top. Note that using /LEV
without any levels settings will use the levels from the previous plot.
go portraitNxN 3 3
SET VIEW 1
shade/nolab/lev=(374,382.5,.5)/set v1
ppl shakey 1,0,-0.1,2,,,5,9,5.5,6
ppl shade
SET VIEW 2
shade/nolab/lev/set v2
ppl shakey 0
ppl shade
SET VIEW 3
shade/nolab/lev/set v3
ppl shakey 0
ppl shade
set view 4
shade/nolab/set v4
ppl shakey 0
ppl shade
set view 5
...
Yogesh K. Tiwari wrote:
Hello
Ferret Users,
I want to generate nine plots in a single window and want to save as
'.ps' file. To do this I am using my attched script.
Some of the ppl commands are not fully worked in the script, for
example the 'ppl shakey' to control color bar.
The generated plot color bar looks crowded with data.
I know I am making mistake in issuing commands in my script.
Kindly suggest.
Many thanks,
Regards,
Yogesh
set data file1.cdf
set data file2.cdf
set data file3.cdf
set mode metafile del.plt
set window/size=0.7
set window/aspect=0.7
go portraitNxN 3 3
ppl dfltfnt,@tr
ppl axlsze 0.14 0.14
go margins " " " " 1.6 2.3
!*****************Jan03-Feb03*****************************
SET VIEW 1
shade/nolab/lev=(374,382.5,.5) v1[l=1:2@ave,y=-40:40]+16.4
ppl shakey 1,,0.26, 4, 4, 8
ppl shade
go land 7
label ,,-1,90,.13 "LATITUDE"
label "LONGITUDE"
label "Jan03-Feb03,[TM3]"
SET VIEW 2
shade/nolab/lev=(374,382.5,.5) v2[l=1:2@ave,y=-40:40]-23.9
ppl shakey 1,,0.26, 4, 4, 8
ppl shade
go land 7
label ,,-1,90,.13 "LATITUDE"
label "LONGITUDE"
label "Jan03-Feb03,[LMDZ]"
SET VIEW 3
shade/nolab/lev=(374,382.5,.5) v3[l=1:2@ave,y=-40:40]
ppl shakey 1,,0.26, 4, 4, 8
ppl shade
go land 7
label ,,-1,90,.13 "LATITUDE"
label "LONGITUDE"
label "Jan03-Feb03,[AIRS]"
!****************************************
!Similarly the following set view in next time steps.
SET VIEW 4
SET VIEW 5
SET VIEW 6
SET VIEW 7
SET VIEW 8
SET VIEW 9
cancel mode metafile
spawn Fprint -l cps -p portrait -R -o test.ps del.plt
cancel data/all
|