[gradsusr] tildes
Ricardo Hallak
ricardo.hallak at iag.usp.br
Thu Apr 13 16:28:29 EDT 2017
Hi again, Alan.
It is possible to save a "txt" file in the system and "read" a string from the file from the disk to write it in a figure.
Example:
Criate an file with this content:
"Niño niño Niña niña"
When necessary, read the file with your GrADS script and get the string you want, once that string 1 = Niño, string 2 = niño, and so on.
Maybe this can solve your problem if you handle strings appropriately.
Hope this helps,
Ricardo
----- Mensagem original -----
| Hi, Alan.
|
| If I correctly remember, there was a way to do that. In older
| versions of GrADS, it was possible for a user to create a new set of
| characters. Unfortunatelly I can't help you with that, once I've
| never done it. Besides, I'm not sure if it is possible with new
| versios of GrADS.
|
| Is there someone in the list who has any experience in creating a new
| set of characteres in GrADS?
|
| Regards,
| Ricardo
|
| ----- Mensagem original -----
| | Dear Ricardo,
| |
| | Yes, I know how to do that, but I was wondering if there is a font
| | that
| | includes letters from other alphabets that include tildes and
| | accent
| | marks, so they do not have to be done manually. Thanks.
| |
| | Alan
| |
| | Alan Robock, Distinguished Professor
| | Editor, Reviews of Geophysics
| | Department of Environmental Sciences Phone:
| | +1-848-932-5751
| | Rutgers University Fax:
| | +1-732-932-8644
| | 14 College Farm Road E-mail:
| | robock at envsci.rutgers.edu
| | New Brunswick, NJ 08901-8551 USA
| | http://envsci.rutgers.edu/~robock
| | ☮ http://twitter.com/AlanRobock
| | Watch my 18 min TEDx talk at
| | http://www.youtube.com/watch?v=qsrEk1oZ-54
| |
| | On 4/12/2017 9:14 AM, Ricardo Hallak wrote:
| | > Hi, Alan.
| | >
| | > Yes, there is. Use "draw string":
| | >
| | > draw string x y string
| | >
| | > Draws the character string at the x,y position. x and y are given
| | > in inches on the virtual page.
| | > The string is drawn using current string attributes -- set the
| | > set
| | > string and set strsiz commands.
| | >
| | > Regards,
| | > Ricardo
| | >
| | > ----- Mensagem original -----
| | > | Hi,
| | > |
| | > | Is there a way to write "El Niño" on a plot, with a tilde over
| | > | the n?
| | > |
| | > | --
| | > | Alan
| | > |
| | > | Alan Robock, Distinguished Professor
| | > | Editor, Reviews of Geophysics
| | > | Department of Environmental Sciences Phone:
| | > | +1-848-932-5751
| | > | Rutgers University Fax:
| | > | +1-732-932-8644
| | > | 14 College Farm Road E-mail:
| | > | robock at envsci.rutgers.edu
| | > | New Brunswick, NJ 08901-8551 USA
| | > | http://envsci.rutgers.edu/~robock
| | > | ☮ http://twitter.com/AlanRobock
| | > | Watch my 18 min TEDx talk at
| | > | http://www.youtube.com/watch?v=qsrEk1oZ-54
| | > |
| | > | _______________________________________________
| | > | gradsusr mailing list
| | > | gradsusr at gradsusr.org
| | > | http://gradsusr.org/mailman/listinfo/gradsusr
| | > |
| | >
| | > _______________________________________________
| | > gradsusr mailing list
| | > gradsusr at gradsusr.org
| | > http://gradsusr.org/mailman/listinfo/gradsusr
| |
| | _______________________________________________
| | gradsusr mailing list
| | gradsusr at gradsusr.org
| | http://gradsusr.org/mailman/listinfo/gradsusr
| |
|
| --
| Prof. Ricardo Hallak
| Laboratório de Meteorologia de Mesoescala - LMM
| Departamento de Ciências Atmosféricas
| Instituto de Astronomia, Geofísica e Ciências Atmosféricas
| Universidade de São Paulo
|
| Phone: +55(11)3091-4698
|
| _______________________________________________
| gradsusr mailing list
| gradsusr at gradsusr.org
| http://gradsusr.org/mailman/listinfo/gradsusr
|
--
Prof. Ricardo Hallak
Laboratório de Meteorologia de Mesoescala - LMM
Departamento de Ciências Atmosféricas
Instituto de Astronomia, Geofísica e Ciências Atmosféricas
Universidade de São Paulo
Phone: +55(11)3091-4698
More information about the gradsusr
mailing list