NSView background color

2010-06-21 Thread Richard Langly
I have an NSView in a *.nib file. I'm trying to change the background color in it to match the unified toolbar metal color (not exactly sure what the name of that color is either). My controller to this view calls initWithNibName:, but other than that, I don't see where or how I can change the col

scaling plot to nsview size

2010-06-21 Thread Richard Langly
Hi, I have a few hundred points which I'm trying to draw as a scatter plot. The origin of my plot (0,0) is in the center of my canvas where my crosshairs are. My values in this case are no larger than 0.998 and no less than -0.932. Though the values can always change so I'm trying to scale my grap