comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: NOCLIP in XYOUTS not working with !P.FONT
items: Re: NOCLIP in XYOUTS not working with !P.FONT

NOCLIP in XYOUTS not working with !P.FONT
type: item
description: In my plotting routine, if I am using !P.FONT=2 before the device command. Now when I use XYOUTS for labelling some data points with (NOCLIP=0,/DATA), it is still putting the labels for those points which are out of the plotting frame. But when I remove !P.FONT=2 at the starting of the programme, NOCLIP works fine. I don't know why NOCLIP is causing problem with !P/FONT.
creator: Kaushal Sharma
date: 2014-11-12T11:59:38-00:00

Re: NOCLIP in XYOUTS not working with !P.FONT
type: item
description: Kaushal Sharma writes: > In my plotting routine, if I am using !P.FONT=2 before the device command. Now when I use XYOUTS for labelling some data points with (NOCLIP=0,/DATA), it is still putting the labels for those points which are out of the plotting frame. > But when I remove !P.FONT=2 at the starting of the programme, NOCLIP works fine. I don't know why NOCLIP is causing problem with !P/FONT. I'm not sure what it means to set !P.Font=2, since the only values officially "accepted" are -1, 0, and 1, but having NOCLIP unrecognized when using true-type fonts (!P.Font=1) is probably a long-time bug in IDL. I normally run into this the bug when doing map projections: http://www.idlcoyote.com/map_tips/noclip.html Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2014-11-12T13:28:31-00:00

Re: NOCLIP in XYOUTS not working with !P.FONT
type: item
description: Hmm.. It is !P.FONT=1 (1 and 2 results in the same font) which is causing problem with XYOUTS. What are the other fonts available and how can I use them with XYOUTS for labelling without any issues? On Wednesday, November 12, 2014 6:58:38 PM UTC+5:30, David Fanning wrote: > Kaushal Sharma writes: > >> In my plotting routine, if I am using !P.FONT=2 before the device command. Now when I use XYOUTS for labelling some data points with (NOCLIP=0,/DATA), it is still putting the labels for those points which are out of the plotting frame. >> But when I remove !P.FONT=2 at the starting of the programme, NOCLIP works fine. I don't know why NOCLIP is causing problem with !P/FONT. > > I'm not sure what it means to set !P.Font=2, since the only values > officially "accepted" are -1, 0, and 1, but having NOCLIP unrecognized > when using true-type fonts (!P.Font=1) is probably a long-time bug in > IDL. I normally run into this the bug when doing map projections: > > http://www.idlcoyote.com/map_tips/noclip.html > > Cheers, > > David > -- > David Fanning, Ph.D. > Fanning Software Consulting, Inc. > Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ > Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: Kaushal Sharma
date: 2014-11-12T14:43:40-00:00

Re: NOCLIP in XYOUTS not working with !P.FONT
type: item
description: Kaushal Sharma writes: > Hmm.. It is !P.FONT=1 (1 and 2 results in the same font) which is causing problem with XYOUTS. > What are the other fonts available and how can I use them with XYOUTS for labelling without any issues? Fonts without issues!? Not sure there is such a thing. :-) Hershey fonts (!P.Font=-1) always work. They just don't look so great. Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2014-11-12T17:05:26-00:00

Re: NOCLIP in XYOUTS not working with !P.FONT
type: item
description: Hershey fonts are why I still use IDL. Well, that, and the large body of IDL code I have. I'm not kidding. I do like the Hershey fonts. Gordon
creator: Gordon Farquharson
date: 2014-11-13T07:55:44-00:00