comparison src/graphics.cc @ 11598:62b7ea59a6ff

fixing color mismatch between axis and axis label
author Konstantinos Poulios <logari81@googlemail.com>
date Fri, 21 Jan 2011 20:22:42 +0100
parents 12df7854fa7c
children 85f9a5b211fd
comparison
equal deleted inserted replaced
11597:a066673566da 11598:62b7ea59a6ff
3297 xset (xlabel.handle_value (), "positionmode", "auto"); 3297 xset (xlabel.handle_value (), "positionmode", "auto");
3298 xset (xlabel.handle_value (), "rotationmode", "auto"); 3298 xset (xlabel.handle_value (), "rotationmode", "auto");
3299 xset (xlabel.handle_value (), "horizontalalignmentmode", "auto"); 3299 xset (xlabel.handle_value (), "horizontalalignmentmode", "auto");
3300 xset (xlabel.handle_value (), "verticalalignmentmode", "auto"); 3300 xset (xlabel.handle_value (), "verticalalignmentmode", "auto");
3301 xset (xlabel.handle_value (), "clipping", "off"); 3301 xset (xlabel.handle_value (), "clipping", "off");
3302 xset (xlabel.handle_value (), "color", get_xcolor ());
3302 } 3303 }
3303 3304
3304 void 3305 void
3305 axes::properties::set_ylabel (const octave_value& v) 3306 axes::properties::set_ylabel (const octave_value& v)
3306 { 3307 {
3308 xset (ylabel.handle_value (), "positionmode", "auto"); 3309 xset (ylabel.handle_value (), "positionmode", "auto");
3309 xset (ylabel.handle_value (), "rotationmode", "auto"); 3310 xset (ylabel.handle_value (), "rotationmode", "auto");
3310 xset (ylabel.handle_value (), "horizontalalignmentmode", "auto"); 3311 xset (ylabel.handle_value (), "horizontalalignmentmode", "auto");
3311 xset (ylabel.handle_value (), "verticalalignmentmode", "auto"); 3312 xset (ylabel.handle_value (), "verticalalignmentmode", "auto");
3312 xset (ylabel.handle_value (), "clipping", "off"); 3313 xset (ylabel.handle_value (), "clipping", "off");
3314 xset (ylabel.handle_value (), "color", get_ycolor ());
3313 } 3315 }
3314 3316
3315 void 3317 void
3316 axes::properties::set_zlabel (const octave_value& v) 3318 axes::properties::set_zlabel (const octave_value& v)
3317 { 3319 {
3319 xset (zlabel.handle_value (), "positionmode", "auto"); 3321 xset (zlabel.handle_value (), "positionmode", "auto");
3320 xset (zlabel.handle_value (), "rotationmode", "auto"); 3322 xset (zlabel.handle_value (), "rotationmode", "auto");
3321 xset (zlabel.handle_value (), "horizontalalignmentmode", "auto"); 3323 xset (zlabel.handle_value (), "horizontalalignmentmode", "auto");
3322 xset (zlabel.handle_value (), "verticalalignmentmode", "auto"); 3324 xset (zlabel.handle_value (), "verticalalignmentmode", "auto");
3323 xset (zlabel.handle_value (), "clipping", "off"); 3325 xset (zlabel.handle_value (), "clipping", "off");
3326 xset (zlabel.handle_value (), "color", get_zcolor ());
3324 } 3327 }
3325 3328
3326 void 3329 void
3327 axes::properties::set_title (const octave_value& v) 3330 axes::properties::set_title (const octave_value& v)
3328 { 3331 {