How can I have a new line as part of a text string in PyNGL?
import Ngl wks = Ngl.open_wks(“x11″,”test”) txres = Ngl.Resources() txres.txFontHeightF = 0.03 Ngl.text_ndc(wks,”title1~C~title2~C~title3~C~title4″,0.5,0.5,txres) Ngl.frame(wks) Ngl.end() Note: The above example uses the tilde (“~”) for the text function code. This is the default if you are using a standard implementation of PyNGL. See the question on changing the text function code for more information. • How can I draw to an X11 window and use keyboard input for plotting control without having to do a mouse click? See the example in the documentation for Ngl.clear_workstation. • How come I get different line thicknesses on different output devices using the same thickness value? Line thicknesses displayed on different output devices (X11, PostScript, PDF, etc.) can be significantly different for the same line thickness value. This is due to several factors. Every device has a default, or nominal, line thickness (also sometimes call line width). This nominal line width is the width of