[Thread Prev][Thread Next][Index]
Re: [ferret_users] fixed scaling factor by default
- To: Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx>
- Subject: Re: [ferret_users] fixed scaling factor by default
- From: Marco van Hulten <Marco.Hulten@xxxxxx>
- Date: Thu, 19 Dec 2019 11:40:56 +0100
- Arc-authentication-results: i=4; mx.google.com; dkim=pass header.i=@uib.no header.s=20160927 header.b=Ezeqcxek; arc=pass (i=2 dkim=pass dkdomain=uib.no); spf=softfail (google.com: domain of transitioning marco.hulten@xxxxxx does not designate 209.85.219.70 as permitted sender) smtp.mailfrom=marco.hulten@xxxxxx
- Arc-authentication-results: i=3; mx.google.com; dkim=pass header.i=@uib.no header.s=20160927 header.b=Ezeqcxek; arc=pass (i=2 dkim=pass dkdomain=uib.no); spf=softfail (google.com: domain of transitioning marco.hulten@xxxxxx does not designate 209.85.219.70 as permitted sender) smtp.mailfrom=marco.hulten@xxxxxx
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@uib.no header.s=20160927 header.b=Ezeqcxek; arc=pass (i=1 spf=pass spfdomain=uib.no dkim=pass dkdomain=uib.no dmarc=pass fromdomain=uib.no); spf=softfail (google.com: domain of transitioning marco.hulten@xxxxxx does not designate 65.153.203.173 as permitted sender) smtp.mailfrom=Marco.Hulten@xxxxxx
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@uib.no header.s=20160927 header.b=Ezeqcxek; spf=pass (google.com: domain of marco.hulten@xxxxxx designates 2001:700:200:30::141 as permitted sender) smtp.mailfrom=Marco.Hulten@xxxxxx; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=uib.no
- Arc-message-signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :message-id:content-transfer-encoding:mime-version:organization :references:in-reply-to:subject:cc:to:from:date:sender :dkim-signature; bh=kAgGIYNKI3DiyNc8bPycIRUQVx50fkVHiORSq9l6k9o=; b=eou0+K3RDWnWjt6N+m8BlqEjcshmI6HDvZnUx8k+RWlqWT17u7NV2VdBEyXunw2E0e GecCwg4rso8RXQbRTd/IqL5vN6HWuJXmUqdqC0mvW8BLePP+WJ2wgsJUq1m0GLaYTd3e ObIFsc6IgWiGeXFW5cxD/cSzlxMyf/HFZMRiZnEg306NpLtJlShReppUpUiMy++Wv2eN xi8dU1fa6sl9c/wUpFur960UEk47ak51s7KWtKENNiazHb7qlSZXeXBmsCmTurzXTL41 3rWAXKSoEPIGUT6z2d9SzaNA3F2ixc3xt8nt2++zWrRVIFb5zXH2F/vpw5Z+VhYtiXeX aSPw==
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:content-transfer-encoding:mime-version:organization :references:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=kAgGIYNKI3DiyNc8bPycIRUQVx50fkVHiORSq9l6k9o=; b=dZs1o6uw9iBRW6zdhYjIHeEEi4h42YH+H2ksJaoBs709OmhBRLyHeOjVOpHi6ZJRdv 3CdVq2J2fDlqs4hVZDA/forD7FtsLEFXT5GySEXFZQtz5EKq6+mfR63NJCHiXRcK035O E/XJ3iJ+EonuxqA9Pw42bq9zKxj2TjXrMXTnc9LvTdfHzpqM6gpX0mmUR9pyCHKR5fAz g3Tof/BHJgf8s1OMYlLVq95GVwr5zpnkffhNnBbcAO5h/7Tmqy9PdOEs++GiF2ptyX27 BNUdz4jJlGTfNLwJQjIgRG627VRhbA3+ChNmZ+uTZ1x/SdD7khDugK4Z72fHSXsaD7sL 8Gjg==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=kAgGIYNKI3DiyNc8bPycIRUQVx50fkVHiORSq9l6k9o=; b=o80aaIUU8h0Bk+rFJMEzMtRFS3kVtgI3B84noqSF71N+mGPvgDW29u8Y/BlP6YNGKH 7U7swIWLXLaXcYHYWsSD9Q2lXiXk/iq1W9bXQxi6twvq94qOahLx+8r465nOw1FNlcrn I5ex4LZZuppKR1C/E21ZmwWnneI2d774KTV0qyZLyo8xsO6HKEv8S6gjYXd8X9kFMmah k9jWbeGukGyW/AptCW9Y2AyxrU0X1yGRKSnm3qDWTVvTBYud5afD6aQsFdA47rsTmfFV XPd9YZ8JM9yc8M2WxXG3PMU63kb6CqMg6cms7oxpuTO4PAjF3bLpNdLYf2VzHoCvJjnB UIkQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=kAgGIYNKI3DiyNc8bPycIRUQVx50fkVHiORSq9l6k9o=; b=L/yx+DMjQmHSh8lC2StbMA+GZaTrotw8qXj0TekIzJDlmy2dEK6iQXenJwime+ecgH xNYLClRej/rSOKRxVlIW1hfl/P/BgfnaEwUWMciwicKM4P/C9IS7yx14r+GKwOw6D8ZD p9jVzAeWyhnIafzkUiMCWaXY60Gkc0Ns/eWTE0r0I1NwQBQCEtbZr4mwIOvZDLhy13ei o0mnKqFeJ0vZvfBCebVl5uWDB6Xy/YJ1Hl+NdLJq3aQN19CI4d/2fgEG1vhH41AHw6Qo lBr7kGo37o8w6/RoIFX09le3moTISLZjyTwWWnr4FbSeUBSP7jQblpXdqpvt9ZAx1LIk 5z3w==
- Arc-seal: i=4; a=rsa-sha256; t=1576752065; cv=pass; d=google.com; s=arc-20160816; b=s1YuzLyO8dpbMq4rOVgybdxLdQ7hhn8wpiiwDIRszKLzbpJYnpQs7Az7FhQv1s0G0H pkyTEQVqDAORA2VspY/6UOTGj/me+9nLuoG8eCLkv6fr48/N+/BU4JDCQ5tHKxol5ES2 SLOXWfi7+9XXwHcv/2jzdjqeWYsZFiyaVGGibpkNZ4wpGNy49U8QsdaUfXeEZxOkiCwQ KMLVg2B2iF5GmYgiRhnwf1zZbAjPaK/uo0BKhwOgXO24JEQEw2fJrAjMv8uXYo2U0b1p hEwl+pZswdfyT4LZ/RGsMWKlvG3TJiA6Gll33dcLXeKfrI5D0mxGToYtfp2XhP1ljCzl lEsA==
- Arc-seal: i=3; a=rsa-sha256; t=1576752064; cv=pass; d=google.com; s=arc-20160816; b=Td1vUe8W9pWxaZxxufujRuFiazi3lK7Mmrs+YKxX48BtnaOm6UQcE0darYDeNCreFH qAEDiETCNFy5zVKcUElgxheW0VlNWia5Xvckux62QT02AaI7j0XAov6qbr8NXLXQtoJ2 yo70qKvn0wh6ar2s7exKxfN5LNwCOmuxkj+dqei7767tONP4kchDE4S9Tv5cwyJcO++I 93n/Ly/C5pLZGYiaM9txLJvdEEkZXvsG6mp/kCl1bMsUgrxlgPnFCwnk8HruhfsbLJRu uQuyajSUvofekmH/wOhM+ZZ70TRZNAXuQI87PVuf7w0v92XkXpyEQCAdP93NJ9voOITT SEbw==
- Arc-seal: i=2; a=rsa-sha256; t=1576752061; cv=pass; d=google.com; s=arc-20160816; b=UhmCJo/HhYdq/SX+pDnGtyoGR7V4AcgayrEOxywvpAQ8ZfXR3Ala8PiPBGyh0iy5Is TSXnd+LNdCoSIAb1blR057dcve+7+xcEBRldTx+Vp18dDiZGBS8DVoiboIc8FANEqq4I tnNQkPsJO6PME4p8iZ6M4SUsZCHUdENXZhvStaU6SQQviE1IB9yIRRz1Uh+yFlNLiPK/ qY/oUJinZBIkLRooRMQYWu0KtOZF4BOj/zk/IqhYV0B0HdhpXyz0ltebn+OkgyKPIM5P kgWWzTUUdF+ibYlgQxfjyEYvQxi+qACqsG4QExpaaUb1zeMjhtGAqPiO8ySqoVXZrCDC pDtw==
- Arc-seal: i=1; a=rsa-sha256; t=1576752059; cv=none; d=google.com; s=arc-20160816; b=Irk5bg2l60xPSZCcmp/dS+cG9QXE+b8/6bLK+bdSqkS3cSSGNKgGtzFqgGkIQ3i+i2 XSuSd327yQmLrUTClqpDCfUT9l+w6kn8yJGRfbcPXEXGUrVDKKicC2eq9HTmDCD9dCkl +MFrf4xIXUMIqSZAGp5Wq+PzYC61Ona1rmfxWutIWjWKYweATP0eMEpM2tCylmpc6vQL QXgJ3JLzBJpGNjV16zPkVc8XpYro06vSG8aL35lMfXWNSG/a75JWTpzsXJ9hUqlvm+BA cG6IPHZhdiaxgnIRw2EW9TQonGf1zOkliD7qPvwRgmg545Lw910b21iOZczQHjMxGOBv b/Aw==
- Cc: ferret users <ferret_users@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:date:from:to:cc:subject:in-reply-to:references:organization :mime-version:content-transfer-encoding:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=kAgGIYNKI3DiyNc8bPycIRUQVx50fkVHiORSq9l6k9o=; b=J7xJp5fAjGsNGrbLSTTWuajBDbg3ZK7i4GlJY5hMR/nXvOqdHdsfc9foZmwdIrA/R4 JHAahf2u6MAwQ7SnkWTqhM3rdUDsujXcZcXywkG1LgmvxAZCMCdy3F1qepSohvbJ/Xg7 ROYmneKDTRgYow4JJ5lZGN0Jejlr2vAOWRXSXGM7YgmxophkvmhhapFHKpWJmC8XPbaD DUqJFFHQMJL22YTHUjShuT0RLQ+fCQSHoFsKwYyjTh5lQvtd52HczSH0/tkvUmX7zON1 40iyZR+gqKjzP1OSAY/meaGTIApnw87nPmT+rS1aHnvUJc+i0fimIPxdUGYDdNX6+jS3 g+PQ==
- In-reply-to: <CAELLC7U-b5dFWvk03jfoTcPCfSi1KGe3yo3rLrBiDKj4D55i6Q@mail.gmail.com>
- List-archive: <https://groups.google.com/a/noaa.gov/group/ferret_users/>
- List-help: <https://support.google.com/a/noaa.gov/bin/topic.py?topic=25838>, <mailto:ferret_users+help@noaa.gov>
- List-id: <ferret_users.noaa.gov>
- List-post: <https://groups.google.com/a/noaa.gov/group/ferret_users/post>, <mailto:ferret_users@noaa.gov>
- Mailing-list: list ferret_users@xxxxxxxx; contact ferret_users+owners@xxxxxxxx
- Organization: University of Bergen
- References: <20191218174000.21b9c739@gfi063209.klientdrift.uib.no> <CAELLC7U-b5dFWvk03jfoTcPCfSi1KGe3yo3rLrBiDKj4D55i6Q@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
Karl—
On 18 Dec 10:14 Karl Smith - NOAA Affiliate wrote:
> The /SCALE=... option to SET WINDOW will allow you to set the value in
> Image -> Scale through the ferret command line.
> And I see that option is not described in the Ferret manual; my apologies.
>
> -- If the value is a positive number, the image is scaled with that factor,
> the window is resized as best possible to fit that image size and display
> size, and automatic rescaling of the image to fit the window size (by the
> user interacting with the window frame) is turned off.
>
> -- If the value is negative, the image is scaled with that factor, the
> window is resized as best possible to fit that image size, and automatic
> rescaling of the image to fit the window size is turned on (which may
> revise the scaling factor to fit the window on the display and may revise
> the window size - aspect ratio - to fit the image aspect ratio).
>
> -- If the value is zero, the current window scaling factor is used but
> automatic rescaling of the image to fit the window size is turned
> on (which, again, may revise the scaling factor to fit the window on the
> display and may revise the window size - aspect ratio - to fit the image
> aspect ratio).
Thank you, this helps a lot. It would indeed be useful to add it to the
documentation.
I needed the /SCALE option for forcing the image size to fit my
window. Otherwise the image would be scaled slightly too large. The
window resizing is ignored by tiling window managers; it's effectively
an inconsequential side-effect of the /SCALE option. These are
somewhat curious things, but things are working for me with
/SCALE=-0.834, which is the size the image needs to be scaled to when I
use half of the screen height for Ferret windows (typical in horizontal
layout). The minus sign is useful as I do sometimes change to a
fullscreen layout; and going back to the horizontal layout works out
properly; the issue of a wrong image/window size mismatch occured only
for the initial plot in the window. All this may relate to an
underlying bug causing also flickering issue mentioned earlier this
year.
All that information is for later reference. With this sentence, I'll
make it also searchable for tiling window manager users like spectrwm,
i3wm and xmonad. Yet again, tiling windows and Ferret are an ideal
combination (first only with classic Ferret, and now also PyFerret).
—Marco
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement