[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret multi_view



Sorry, I was wrong in what I said last time.

DEF VI/AXES is not in inches from the edge of the page, but fractions of the page. 

To see the difference, try:

can vi
define view/axes/x=0:0.5/y=0:1 leftnoaxes
set view leftnoaxes
go ptest

define view/x=0.5,1/y=0:1 rightaxes
set view rightaxes
go ptest

Billy

> On May 20, 2020, at 4:01 PM, William Kessler <William.S.Kessler@xxxxxxxx> wrote:
> 
> Hi Oluwaseun -
> 
> You can define viewports as you wish. You are not restricted to the ones provided. See the page below for an example, or look in the documentation under DEFINE VIEWPORT.
> 
> The standard, simpler method as in the examples linked below, defines viewport limits relative to the plot origin and provides white-space around the plot panels for axis labels and titles. For more control, use DEFINE VIEWPORT/AXES which are in inches relative to the left/bottom corner of the page. That let's you put a viewport right on the edge of the page, or wherever you want.
> 
> https://ferret.pmel.noaa.gov/Ferret/faq/laying-out-multiple-plots
> 
> Billy K
> 
>> On May 20, 2020, at 3:44 PM, Xiaoyu Bai <xbai1@xxxxxxxx> wrote:
>> 
>> Hi Oluwaseun,
>> 
>> Do you want to move your color bar to the 8th viewport to make the ports larger? I don't know how to put the 7th in the center. But if you want to move the color bar, you can use
>> 
>> set view full (now you drawing at the full plot)
>> plot/noaxis/nolab/vs/hlim=1:2 {0,0} {0,0} (now you drawing a blank plot)
>> annotate/norm/xpos=0.7/ypos=0.01/size=18/halign=0 "color bar" (now you are making an annotation)
>> annotation       x and y position                      horizontal                 (details see https://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/annotate)
>> 
>> You can find more ideas from https://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2016/msg00144.html
>> 
>> Xiaoyu
>> 
>> 
>> On Wed, May 20, 2020 at 3:53 PM Oluwaseun Ilori <wilseun@xxxxxxxxx> wrote:
>> I forgot earlier to attach the image I'm talking about to the first message. Here it is... 
>> 
>> On Wed, May 20, 2020, 12:15 PM Oluwaseun Ilori <wilseun@xxxxxxxxx> wrote:
>> Good day to all,
>> I have a simple and straight for question to ask; I have make use of 4x2 multi_view but I only need 7 out of the 8 ports I defined to fill 7 variables only. Please is there a way to place the 7th fill/port at the center to make it more presentable. If yes, please kindly put me through.
>> 
>> Thanks for the help in advance. 
>> 
>> 
>> -- 
>> Xiaoyu
> 



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement