Mercurial > octave-nkf
comparison scripts/plot/__go_draw_axes__.m @ 6431:ff87ad14403f
[project @ 2007-03-22 18:20:31 by jwe]
author | jwe |
---|---|
date | Thu, 22 Mar 2007 18:20:32 +0000 |
parents | 0cc5ca7b1e91 |
children | f1f2e0de340a |
comparison
equal
deleted
inserted
replaced
6430:215b141470b4 | 6431:ff87ad14403f |
---|---|
347 ximg_data{++ximg_data_idx} = img_data; | 347 ximg_data{++ximg_data_idx} = img_data; |
348 endif | 348 endif |
349 | 349 |
350 case "line" | 350 case "line" |
351 data_idx++; | 351 data_idx++; |
352 filespec{data_idx} = '-'; | 352 filespec{data_idx} = "-"; |
353 if (isempty (obj.keylabel)) | 353 if (isempty (obj.keylabel)) |
354 titlespec{data_idx} = "title \"\""; | 354 titlespec{data_idx} = "title \"\""; |
355 else | 355 else |
356 titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); | 356 titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); |
357 endif | 357 endif |
483 endif | 483 endif |
484 | 484 |
485 case "surface" | 485 case "surface" |
486 data_idx++; | 486 data_idx++; |
487 [style, typ] = do_linestyle_command (obj, data_idx, plot_stream); | 487 [style, typ] = do_linestyle_command (obj, data_idx, plot_stream); |
488 filespec{data_idx} = '-'; | 488 filespec{data_idx} = "-"; |
489 if (isempty (obj.keylabel)) | 489 if (isempty (obj.keylabel)) |
490 titlespec{data_idx} = "title \"\""; | 490 titlespec{data_idx} = "title \"\""; |
491 else | 491 else |
492 titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); | 492 titlespec{data_idx} = strcat ("title \"", obj.keylabel, "\""); |
493 endif | 493 endif |
721 endif | 721 endif |
722 endif | 722 endif |
723 fputs (plot_stream, "e\n"); | 723 fputs (plot_stream, "e\n"); |
724 endif | 724 endif |
725 endfor | 725 endfor |
726 else | |
727 fputs (plot_stream, "plot \"-\";\nInf Inf\ne\n"); | |
726 endif | 728 endif |
727 | 729 |
728 fflush (plot_stream); | 730 fflush (plot_stream); |
729 | 731 |
730 else | 732 else |