|
Hi, When drawing map projection plots in viewports, do not call the "go mp_aspect" script. That command does a SET WINDOW command which resets your window and negates the "set viewport". Instead, either just skip any call to set the aspect ratio, if you want to keep the aspect ratio that is results from your viewport definitions, or use the script "mp_viewpot_aspect.jnl. For more details see this FAQ, ../../faq/map-projections-in-viewports For drawing a single color key for all of the viewports on the page, it sounds as if you are doing things as described in this message, for instance, ../fu_2000/msg00226.html Another method would be to draw just the colorbar first, in its own viewport, and then define the remaining viewports so that there is some space at the top where the colorbar lies. Try this: ! Define the common colorbar and levels for all plots define symbol plot_qualifiers = /palette=blue_orange/levels=(-inf)(-20,20,4)(inf) ! Draw just the colorbar across the top of the page. ! use a RIBBON/VS command with /noaxes and /nolabels, specifying a horizontal colorbar ! The /hlim tells Ferret to set the horizontal range away from the data being plotted, ! guaranteeing a blank plot but with the correct colorbar. ! You could use a SHAKEY command on this plot to move the colorbar closer to the top. set view full ribbon/vs/hlim=5:10/nolab/noax/key=horiz($plot_qualifiers) {1,1}, {0,0}, {0,0} ! Now define other viewports and draw the plots, using the ($plot_qualifiers) for the ! same levels and color palette throughout. On 1/7/2018 3:27 PM, saurabh rathore
wrote:
|