From: Poul R. <Pou...@sk...> - 2011-01-08 14:59:24
|
How can I control the background color of some text in a label (see example below - I would like a white background). Poul Riis from visual.graph import * pgraph = gdisplay(title='p vs t', xtitle='t (s)', ytitle='p (Pa)', x=0, y=0, xmax=100, ymax=20, width=500, height=215,foreground=color.black, background=color.white) label(display=pgraph.display, pos=(20,10), text="Some text",color=color.red) |