comparison scripts/plot/__go_draw_axes__.m @ 7284:a239de118fa6

[project @ 2007-12-10 23:27:18 by jwe]
author jwe
date Mon, 10 Dec 2007 23:27:18 +0000
parents 44fdc33e5207
children 5e90111a28b3
comparison
equal deleted inserted replaced
7283:a1fdd4dabefb 7284:a239de118fa6
522 titlespec{data_idx} = strcat ("title \"", tmp, "\""); 522 titlespec{data_idx} = strcat ("title \"", tmp, "\"");
523 endif 523 endif
524 usingclause{data_idx} = ""; 524 usingclause{data_idx} = "";
525 if (isfield (obj, "facecolor")) 525 if (isfield (obj, "facecolor"))
526 if ((strncmp (obj.facecolor, "flat", 4) 526 if ((strncmp (obj.facecolor, "flat", 4)
527 || strncmp (obj.facecolor, "interp", 6)) && 527 || strncmp (obj.facecolor, "interp", 6))
528 isfield (obj, "cdata")) 528 && isfield (obj, "cdata"))
529 if (ndims (obj.cdata) == 2 529 if (ndims (obj.cdata) == 2
530 && (size (obj.cdata, 2) == nc 530 && (size (obj.cdata, 2) == nc
531 && (size (obj.cdata, 1) == 1 531 && (size (obj.cdata, 1) == 1
532 || size (obj.cdata, 1) == 3))) 532 || size (obj.cdata, 1) == 3)))
533 ccol = cdat (:, i); 533 ccol = cdat (:, i);
620 mdat = obj.markersize; 620 mdat = obj.markersize;
621 endif 621 endif
622 622
623 if (isfield (obj, "edgecolor")) 623 if (isfield (obj, "edgecolor"))
624 if ((strncmp (obj.edgecolor, "flat", 4) 624 if ((strncmp (obj.edgecolor, "flat", 4)
625 || strncmp (obj.edgecolor, "interp", 6)) && 625 || strncmp (obj.edgecolor, "interp", 6))
626 isfield (obj, "cdata")) 626 && isfield (obj, "cdata"))
627 if (ndims (obj.cdata) == 2 627 if (ndims (obj.cdata) == 2
628 && (size (obj.cdata, 2) == nc 628 && (size (obj.cdata, 2) == nc
629 && (size (obj.cdata, 1) == 1 629 && (size (obj.cdata, 1) == 1
630 || size (obj.cdata, 1) == 3))) 630 || size (obj.cdata, 1) == 3)))
631 ccol = cdat (:, i); 631 ccol = cdat (:, i);