[Thread Prev][Thread Next][Index]

Re: [ferret_users] how to modify the label color with the use of set text command



Hi Saurabh,

The '@...' text modifiers are only recognized by Ferret/PyFerret when using the traditional Ferret font (the Hershey font). When using system fonts with PyFerret, use the 'SET TEXT /COLOR=...' command to assign the color to use for text to be plotted. See:../../documentation/users-guide/commands-reference/SET.html#_SETTEXT

Kindregards,
Karl



On Mon, Oct 7, 2019 at 4:32 PM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
Dear Ferreters,
G'day

I am struggling to modify the color of the label while I am using "set text" command. On the use of "set text" command, I am unable to modify the "pen color" for the labels. here is my script to have a look.

set text/font=helvetica/isiz=-1.2/bold

use coads_climatology

let var1=sst[x=85,y=16]
let var2=sst[x=40,y=-10]
let var3=sst[x=-120,y=10]

set mode linecolors:18
set mode linecolors:20

plot/thick=3/axes/set/nolab/nokey/vlimits=25:30:.5/nolab/nokey/col=1 var1
ppl color,18,30,40,80
ppl color,20,99,40,40
ppl axlsze .12,.12
ppl txlsze .12
ppl plot
plot/ov/thick=3/col=18 var2
plot/ov/thick=3/col=20


--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]