Changing Line Styles

Question

How do you change line styles?

Answer

This is changed by changing the line attribute in the graphics method object. If you have a graphics method my_gm, the assignment statement:

my_gm.line = 1

sets the line style to dashed. You can find a list of styles here.


Notes: This discussion applies to CDAT 3.3.

Return to the Tips and Examples index page.

Updated: December 3, 2003 by Johnny Lin <email address>. License.