/usr/share/doc/libcpl-dev/html/group__cpl__plot.html is in libcpl-doc 7.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Common Pipeline Library Reference Manual: Plotting of CPL objects</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="cpl.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Common Pipeline Library Reference Manual
 <span id="projectnumber">7.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Plotting of CPL objects</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga76b796e0a470a8f1d2ccddca402d2784"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga76b796e0a470a8f1d2ccddca402d2784">cpl_plot_bivector</a> (const char *pre, const char *options, const char *post, const cpl_bivector *bivector)</td></tr>
<tr class="memdesc:ga76b796e0a470a8f1d2ccddca402d2784"><td class="mdescLeft"> </td><td class="mdescRight">Plot a bivector. <a href="#ga76b796e0a470a8f1d2ccddca402d2784">More...</a><br /></td></tr>
<tr class="separator:ga76b796e0a470a8f1d2ccddca402d2784"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac5e072a0a464454180ea04fe5f35cd45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#gac5e072a0a464454180ea04fe5f35cd45">cpl_plot_bivectors</a> (const char *pre, const char **options, const char *post, const cpl_bivector **bivectors, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> nbvec)</td></tr>
<tr class="memdesc:gac5e072a0a464454180ea04fe5f35cd45"><td class="mdescLeft"> </td><td class="mdescRight">Plot an array of bivectors. <a href="#gac5e072a0a464454180ea04fe5f35cd45">More...</a><br /></td></tr>
<tr class="separator:gac5e072a0a464454180ea04fe5f35cd45"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1bb893c5a03596a48f670c2608dc1b94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga1bb893c5a03596a48f670c2608dc1b94">cpl_plot_column</a> (const char *pre, const char *options, const char *post, const cpl_table *tab, const char *xlab, const char *ylab)</td></tr>
<tr class="memdesc:ga1bb893c5a03596a48f670c2608dc1b94"><td class="mdescLeft"> </td><td class="mdescRight">Plot a column of a table. <a href="#ga1bb893c5a03596a48f670c2608dc1b94">More...</a><br /></td></tr>
<tr class="separator:ga1bb893c5a03596a48f670c2608dc1b94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga511c1fba8ff96b7bc5ed698ba8ab2d87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga511c1fba8ff96b7bc5ed698ba8ab2d87">cpl_plot_columns</a> (const char *pre, const char *options, const char *post, const cpl_table *tab, const char **labels, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> nlabels)</td></tr>
<tr class="memdesc:ga511c1fba8ff96b7bc5ed698ba8ab2d87"><td class="mdescLeft"> </td><td class="mdescRight">Plot severals column of a table. <a href="#ga511c1fba8ff96b7bc5ed698ba8ab2d87">More...</a><br /></td></tr>
<tr class="separator:ga511c1fba8ff96b7bc5ed698ba8ab2d87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac52d4503c66e0878a162909b84120ccd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#gac52d4503c66e0878a162909b84120ccd">cpl_plot_image</a> (const char *pre, const char *options, const char *post, const cpl_image *image)</td></tr>
<tr class="memdesc:gac52d4503c66e0878a162909b84120ccd"><td class="mdescLeft"> </td><td class="mdescRight">Plot an image. <a href="#gac52d4503c66e0878a162909b84120ccd">More...</a><br /></td></tr>
<tr class="separator:gac52d4503c66e0878a162909b84120ccd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaef75b77f4d1a0642db7460a7a7569d70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#gaef75b77f4d1a0642db7460a7a7569d70">cpl_plot_image_col</a> (const char *pre, const char *options, const char *post, const cpl_image *image, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> firstcol, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> lastcol, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> colstep)</td></tr>
<tr class="memdesc:gaef75b77f4d1a0642db7460a7a7569d70"><td class="mdescLeft"> </td><td class="mdescRight">Plot a range of image columns. <a href="#gaef75b77f4d1a0642db7460a7a7569d70">More...</a><br /></td></tr>
<tr class="separator:gaef75b77f4d1a0642db7460a7a7569d70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1f32ac705a1e262a4c415135e8a30103"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga1f32ac705a1e262a4c415135e8a30103">cpl_plot_image_row</a> (const char *pre, const char *options, const char *post, const cpl_image *image, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> firstrow, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> lastrow, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> rowstep)</td></tr>
<tr class="memdesc:ga1f32ac705a1e262a4c415135e8a30103"><td class="mdescLeft"> </td><td class="mdescRight">Plot a range of image rows. <a href="#ga1f32ac705a1e262a4c415135e8a30103">More...</a><br /></td></tr>
<tr class="separator:ga1f32ac705a1e262a4c415135e8a30103"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3b6721af46c6dddca011362c7f2b4b12"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga3b6721af46c6dddca011362c7f2b4b12">cpl_plot_mask</a> (const char *pre, const char *options, const char *post, const cpl_mask *mask)</td></tr>
<tr class="memdesc:ga3b6721af46c6dddca011362c7f2b4b12"><td class="mdescLeft"> </td><td class="mdescRight">Plot a mask. <a href="#ga3b6721af46c6dddca011362c7f2b4b12">More...</a><br /></td></tr>
<tr class="separator:ga3b6721af46c6dddca011362c7f2b4b12"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5c119f42ce851ac2e8c7fc114c21195b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga5c119f42ce851ac2e8c7fc114c21195b">cpl_plot_vector</a> (const char *pre, const char *options, const char *post, const cpl_vector *vector)</td></tr>
<tr class="memdesc:ga5c119f42ce851ac2e8c7fc114c21195b"><td class="mdescLeft"> </td><td class="mdescRight">Plot a vector. <a href="#ga5c119f42ce851ac2e8c7fc114c21195b">More...</a><br /></td></tr>
<tr class="separator:ga5c119f42ce851ac2e8c7fc114c21195b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga77f33a5d5fb7e897ecfa2dbdec6ffc59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__plot.html#ga77f33a5d5fb7e897ecfa2dbdec6ffc59">cpl_plot_vectors</a> (const char *pre, const char *options, const char *post, const cpl_vector **vectors, <a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> nvec)</td></tr>
<tr class="memdesc:ga77f33a5d5fb7e897ecfa2dbdec6ffc59"><td class="mdescLeft"> </td><td class="mdescRight">Plot an array of vectors. <a href="#ga77f33a5d5fb7e897ecfa2dbdec6ffc59">More...</a><br /></td></tr>
<tr class="separator:ga77f33a5d5fb7e897ecfa2dbdec6ffc59"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>This module provides functions to plot basic CPL objects</p>
<p>This module is offered to help during the development process. The functions offered should NOT be used in any operational environment. For that reason, the support of those remains limited, and no functionality extension can be expected from the CPL team.</p>
<p>The created plot windows can be closed by pressing the 'q' key like you would do with a normal gnuplot window.</p>
<p>The default behaviour of the plotting is to use gnuplot (with option -persist). The user can control the actual plotting-command used to create the plot by setting the environment variable CPL_PLOTTER. Currently, if CPL_PLOTTER is set it must contain the string 'gnuplot'. Setting it to 'cat > my_gnuplot_$$.txt' causes a number of ASCII-files to be created, which each produce a plot when given as standard input to gnuplot.</p>
<p>A finer control of the plotting options can be obtained by writing an executable script, e.g. my_gnuplot, that executes gnuplot after setting the desired gnuplot options (e.g. set terminal pslatex color) and then setting CPL_PLOTTER to my_gnuplot.</p>
<p>Images can be plotted not only with gnuplot, but also using the pnm format. This is controlled with the environment variable CPL_IMAGER. If CPL_IMAGER is set to a string that does not contain the word gnuplot, the recipe will generate the plot in pnm format. E.g. setting CPL_IMAGER to 'display - &' will produce a gray-scale image using the image viewer display.</p>
<div class="fragment"><div class="line"><span class="preprocessor">#include "cpl_plot.h"</span></div>
</div><!-- fragment --> <h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga76b796e0a470a8f1d2ccddca402d2784"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_bivector </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_bivector * </td>
<td class="paramname"><em>bivector</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a bivector. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">bivector</td><td>The bivector to plot </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The bivector must have a positive number of elements.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size()</a>, <a class="el" href="group__cpl__bivector.html#ga6df6e1f59656d27f36be998b18f53ea4">cpl_bivector_get_x_data_const()</a>, <a class="el" href="group__cpl__bivector.html#ga4efd181088428c4fe42541cad1c594af">cpl_bivector_get_y_data_const()</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, and <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__plot.html#ga1bb893c5a03596a48f670c2608dc1b94">cpl_plot_column()</a>.</p>
</div>
</div>
<a class="anchor" id="gac5e072a0a464454180ea04fe5f35cd45"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_bivectors </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char ** </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_bivector ** </td>
<td class="paramname"><em>bivectors</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>nbvec</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot an array of bivectors. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>Array of strings with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">bivectors</td><td>The bivectors array to plot </td></tr>
<tr><td class="paramname">nbvec</td><td>The number of bivectors, at least one is required </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>Each bivector in the array defines a sequence of points to be plotted. The bivectors can have different size.</p>
<p>The <em>options</em> array must be of same size as the <em>bivectors</em> array. The i'th string in the array specifies the plotting options for the i'th bivector.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_DATA_NOT_FOUND</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__bivector.html#ga7b84e7673a8ea5ae32fb8161202e2f48">cpl_bivector_get_size()</a>, <a class="el" href="group__cpl__bivector.html#ga6df6e1f59656d27f36be998b18f53ea4">cpl_bivector_get_x_data_const()</a>, <a class="el" href="group__cpl__bivector.html#ga4efd181088428c4fe42541cad1c594af">cpl_bivector_get_y_data_const()</a>, <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a5b82c7780a2a8a79dfafcac70717b830">CPL_ERROR_DATA_NOT_FOUND</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900aa54303ad2fb0efc3f8c57c788b342c81">CPL_ERROR_FILE_IO</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, and <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>.</p>
</div>
</div>
<a class="anchor" id="ga1bb893c5a03596a48f670c2608dc1b94"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_column </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_table * </td>
<td class="paramname"><em>tab</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>xlab</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>ylab</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a column of a table. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">tab</td><td>The table to plot </td></tr>
<tr><td class="paramname">xlab</td><td>The label of the column used in x </td></tr>
<tr><td class="paramname">ylab</td><td>The label of the column used in y </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>If xlab is NULL, the sequence number is used for X.</p>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_DATA_NOT_FOUND</li>
<li>CPL_ERROR_INVALID_TYPE</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__bivector.html#ga1ea86fc1994ea6175a7da6db8966db86">cpl_bivector_unwrap_vectors()</a>, <a class="el" href="group__cpl__bivector.html#ga8ae96fc17c12f7140ac23448874b72ff">cpl_bivector_wrap_vectors()</a>, <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a5b82c7780a2a8a79dfafcac70717b830">CPL_ERROR_DATA_NOT_FOUND</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__plot.html#ga76b796e0a470a8f1d2ccddca402d2784">cpl_plot_bivector()</a>, <a class="el" href="group__cpl__table.html#ga5a0f43226e027e8ec517e040c0f6fefc">cpl_table_cast_column()</a>, <a class="el" href="group__cpl__table.html#ga9ea43461bc9128d44622f747d92582d4">cpl_table_count_invalid()</a>, <a class="el" href="group__cpl__table.html#ga7fa13d6c00a323556c31bd531d6dc00c">cpl_table_delete()</a>, <a class="el" href="group__cpl__table.html#ga2d283b2493284945d397e805aa5dd635">cpl_table_duplicate_column()</a>, <a class="el" href="group__cpl__table.html#ga397f3c878f110930bfe64b537c5d417c">cpl_table_erase_invalid()</a>, <a class="el" href="group__cpl__table.html#ga02d329749056a40390df1555c4021032">cpl_table_get_column_type()</a>, <a class="el" href="group__cpl__table.html#ga87ca9a6aca3ddfc830f64906142a21cb">cpl_table_get_data_double()</a>, <a class="el" href="group__cpl__table.html#gaed6b2dfa954fff86892075e0ba71e655">cpl_table_get_data_double_const()</a>, <a class="el" href="group__cpl__table.html#ga98cf8e19056beaa8d9350806c58e7da4">cpl_table_get_nrow()</a>, <a class="el" href="group__cpl__table.html#ga1d8bc681c82a78b369a1804cd12590d9">cpl_table_has_column()</a>, <a class="el" href="group__cpl__table.html#ga1037bec8976297a42ca42da2e26f88b4">cpl_table_new()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086aa44c37e26b9040a96e3a49b405946942">CPL_TYPE_FLOAT</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>, <a class="el" href="group__cpl__vector.html#gaf563c19d309c5b60d148a84cb156c2cf">cpl_vector_delete()</a>, <a class="el" href="group__cpl__vector.html#ga1bd48a276b770a01a7b079042f9e20d2">cpl_vector_duplicate()</a>, <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>, <a class="el" href="group__cpl__vector.html#ga13138212c2b535b08cd1174afa479d28">cpl_vector_set()</a>, <a class="el" href="group__cpl__vector.html#ga3d022e443df6e51ae2c005285d978957">cpl_vector_unwrap()</a>, and <a class="el" href="group__cpl__vector.html#ga1f52028a78be1cab17567cf15c483fcc">cpl_vector_wrap()</a>.</p>
</div>
</div>
<a class="anchor" id="ga511c1fba8ff96b7bc5ed698ba8ab2d87"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_columns </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_table * </td>
<td class="paramname"><em>tab</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char ** </td>
<td class="paramname"><em>labels</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>nlabels</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot severals column of a table. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">tab</td><td>The table to plot </td></tr>
<tr><td class="paramname">labels</td><td>The labels of the columns </td></tr>
<tr><td class="paramname">nlabels</td><td>The number of labels </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>If xlab is NULL, the sequence number is used for X.</p>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_DATA_NOT_FOUND</li>
<li>CPL_ERROR_INVALID_TYPE</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a5b82c7780a2a8a79dfafcac70717b830">CPL_ERROR_DATA_NOT_FOUND</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900aa54303ad2fb0efc3f8c57c788b342c81">CPL_ERROR_FILE_IO</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, <a class="el" href="group__cpl__table.html#ga5a0f43226e027e8ec517e040c0f6fefc">cpl_table_cast_column()</a>, <a class="el" href="group__cpl__table.html#ga7fa13d6c00a323556c31bd531d6dc00c">cpl_table_delete()</a>, <a class="el" href="group__cpl__table.html#ga2d283b2493284945d397e805aa5dd635">cpl_table_duplicate_column()</a>, <a class="el" href="group__cpl__table.html#gabdfca1c1b3478ce6bcc3f4340131adba">cpl_table_erase_column()</a>, <a class="el" href="group__cpl__table.html#ga02d329749056a40390df1555c4021032">cpl_table_get_column_type()</a>, <a class="el" href="group__cpl__table.html#gaed6b2dfa954fff86892075e0ba71e655">cpl_table_get_data_double_const()</a>, <a class="el" href="group__cpl__table.html#ga98cf8e19056beaa8d9350806c58e7da4">cpl_table_get_nrow()</a>, <a class="el" href="group__cpl__table.html#ga1d8bc681c82a78b369a1804cd12590d9">cpl_table_has_column()</a>, <a class="el" href="group__cpl__table.html#ga1037bec8976297a42ca42da2e26f88b4">cpl_table_new()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086aa44c37e26b9040a96e3a49b405946942">CPL_TYPE_FLOAT</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="gac52d4503c66e0878a162909b84120ccd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_image </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_image * </td>
<td class="paramname"><em>image</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot an image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">image</td><td>The image to plot </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The image must have a positive number of pixels.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_image_open()</code>.</dd></dl>
<p>If the specified plotting command does not contain the string 'gnuplot', the plotting command is assumed to be able to parse a pgm (P5) image from stdin. Valid examples of such a command may include 'cat > myplot$$.pgm' and 'display - &'.</p>
<p>The 'pre' and 'post' commands are ignored in PGM-plots, while the 'options' string is written as a comment in the header of the image.</p>
<p>See also <a class="el" href="group__cpl__plot.html#ga5c119f42ce851ac2e8c7fc114c21195b" title="Plot a vector. ">cpl_plot_vector()</a>.</p>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__image.html#gad986c25e9250952770f854022e1ffb24">cpl_image_cast()</a>, <a class="el" href="group__cpl__image.html#ga272e4e004716651b94d6d36e575b6841">cpl_image_delete()</a>, <a class="el" href="group__cpl__image.html#ga8a13105cf06807666c2a59ddd249ace7">cpl_image_get_data_double()</a>, <a class="el" href="group__cpl__image.html#ga2bf936dc6e939e2be9b8bd0d959c52e8">cpl_image_get_data_double_const()</a>, <a class="el" href="group__cpl__image.html#gabf0fdb334ef6a45c1dd0d7e20e7cea49">cpl_image_get_max()</a>, <a class="el" href="group__cpl__image.html#ga9767b78ea3e6318af12b28371356a2c0">cpl_image_get_min()</a>, <a class="el" href="group__cpl__image.html#gab5a6bc059aa1d38c37ab5852b5170e45">cpl_image_get_size_x()</a>, <a class="el" href="group__cpl__image.html#gaf3495f9be1d6892cfed9c5232ccee350">cpl_image_get_size_y()</a>, <a class="el" href="group__cpl__image.html#ga17f97e60794f88e7f06b85cccbecc132">cpl_image_get_type()</a>, <a class="el" href="group__cpl__image.html#gaf2a2500024307801272227e9d6abbbaa">cpl_image_multiply_scalar()</a>, <a class="el" href="group__cpl__image.html#gae6e76e5c9c03f0da6f57d21f3060146f">cpl_image_subtract_scalar()</a>, <a class="el" href="group__cpl__image.html#ga07f1a13958fb9f1d3bba6e1a28b618f8">cpl_image_subtract_scalar_create()</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>.</p>
</div>
</div>
<a class="anchor" id="gaef75b77f4d1a0642db7460a7a7569d70"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_image_col </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_image * </td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>firstcol</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>lastcol</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>colstep</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a range of image columns. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">image</td><td>The image to plot </td></tr>
<tr><td class="paramname">firstcol</td><td>The first column to plot (1 for first) </td></tr>
<tr><td class="paramname">lastcol</td><td>The last column to plot </td></tr>
<tr><td class="paramname">colstep</td><td>The positive column stride </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The image must have a positive number of pixels.</p>
<p>lastcol shall be greater than or equal to firstcol.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_ACCESS_OUT_OF_RANGE (firstcol or lastcol are out of range)</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0d916ea6a7e198a74863ecd9ea03d733">CPL_ERROR_ACCESS_OUT_OF_RANGE</a>, <a class="el" href="group__cpl__error.html#ga724de575c31ddf40f42786306f9dbdcb">cpl_error_get_code()</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__image.html#gad986c25e9250952770f854022e1ffb24">cpl_image_cast()</a>, <a class="el" href="group__cpl__image.html#ga272e4e004716651b94d6d36e575b6841">cpl_image_delete()</a>, <a class="el" href="group__cpl__image.html#ga2bf936dc6e939e2be9b8bd0d959c52e8">cpl_image_get_data_double_const()</a>, <a class="el" href="group__cpl__image.html#gab5a6bc059aa1d38c37ab5852b5170e45">cpl_image_get_size_x()</a>, <a class="el" href="group__cpl__image.html#gaf3495f9be1d6892cfed9c5232ccee350">cpl_image_get_size_y()</a>, <a class="el" href="group__cpl__image.html#ga17f97e60794f88e7f06b85cccbecc132">cpl_image_get_type()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>.</p>
</div>
</div>
<a class="anchor" id="ga1f32ac705a1e262a4c415135e8a30103"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_image_row </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_image * </td>
<td class="paramname"><em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>firstrow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>lastrow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>rowstep</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a range of image rows. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">image</td><td>The image to plot </td></tr>
<tr><td class="paramname">firstrow</td><td>The first row to plot (1 for first) </td></tr>
<tr><td class="paramname">lastrow</td><td>The last row to plot </td></tr>
<tr><td class="paramname">rowstep</td><td>The positive row stride </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The image must have a positive number of pixels.</p>
<p>lastrow shall be greater than or equal to firstrow.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_ACCESS_OUT_OF_RANGE (firstrow or lastrow are out of range)</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0d916ea6a7e198a74863ecd9ea03d733">CPL_ERROR_ACCESS_OUT_OF_RANGE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__image.html#gad986c25e9250952770f854022e1ffb24">cpl_image_cast()</a>, <a class="el" href="group__cpl__image.html#ga272e4e004716651b94d6d36e575b6841">cpl_image_delete()</a>, <a class="el" href="group__cpl__image.html#ga2bf936dc6e939e2be9b8bd0d959c52e8">cpl_image_get_data_double_const()</a>, <a class="el" href="group__cpl__image.html#gab5a6bc059aa1d38c37ab5852b5170e45">cpl_image_get_size_x()</a>, <a class="el" href="group__cpl__image.html#gaf3495f9be1d6892cfed9c5232ccee350">cpl_image_get_size_y()</a>, <a class="el" href="group__cpl__image.html#ga17f97e60794f88e7f06b85cccbecc132">cpl_image_get_type()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>.</p>
</div>
</div>
<a class="anchor" id="ga3b6721af46c6dddca011362c7f2b4b12"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_mask </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_mask * </td>
<td class="paramname"><em>mask</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">mask</td><td>The mask to plot </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>If the specified plotting command does not contain the string 'gnuplot', the plotting command is assumed to be able to parse a pgm (P5) mask from stdin. Valid examples of such a command may include 'cat > myplot$$.pgm' and 'display - &'.</p>
<p>The 'pre' and 'post' commands are ignored in PGM-plots, while the 'options' string is written as a comment in the header of the mask.</p>
<p>See also <a class="el" href="group__cpl__plot.html#ga5c119f42ce851ac2e8c7fc114c21195b" title="Plot a vector. ">cpl_plot_vector()</a>.</p>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__mask.html#gac9ab11af7ef4ff0b8424141271fd685b">cpl_mask_get_data_const()</a>, <a class="el" href="group__cpl__mask.html#gaefb412dd754146bc78faf7356209a0e6">cpl_mask_get_size_x()</a>, <a class="el" href="group__cpl__mask.html#ga2c515a5ba20381c54c0496c1b9769495">cpl_mask_get_size_y()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, and <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>.</p>
</div>
</div>
<a class="anchor" id="ga5c119f42ce851ac2e8c7fc114c21195b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_vector </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_vector * </td>
<td class="paramname"><em>vector</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot a vector. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">vector</td><td>The vector to plot </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The vector must have a positive number of elements.</p>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, <a class="el" href="group__cpl__vector.html#ga991ded30622122c78bb34191f7c7a7c6">cpl_vector_get_data_const()</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>
</div>
</div>
<a class="anchor" id="ga77f33a5d5fb7e897ecfa2dbdec6ffc59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_plot_vectors </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>pre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>options</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>post</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const cpl_vector ** </td>
<td class="paramname"><em>vectors</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#gacc431432a4fedf19ec6f7668dda3fbf0">cpl_size</a> </td>
<td class="paramname"><em>nvec</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plot an array of vectors. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pre</td><td>An optional string with pre-plot commands </td></tr>
<tr><td class="paramname">options</td><td>An optional string with plotting options </td></tr>
<tr><td class="paramname">post</td><td>An optional string with post-plot commands </td></tr>
<tr><td class="paramname">vectors</td><td>The vectors array to plot </td></tr>
<tr><td class="paramname">nvec</td><td>The number of vectors </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CPL_ERROR_NONE or the relevant CPL_ERROR_# on error</dd></dl>
<p>The array should contain at least 3 vectors, the first one can be NULL.</p>
<p>The non-NULL vectors must have the same number of elements. The first vector gives the x-axis. If NULL, the index is used.</p>
<dl class="section see"><dt>See also</dt><dd>also <code>cpl_mplot_open()</code>.</dd></dl>
<p>Possible <em>cpl_error_code</em> set in this function:</p><ul>
<li>CPL_ERROR_FILE_IO</li>
<li>CPL_ERROR_NULL_INPUT</li>
<li>CPL_ERROR_ILLEGAL_INPUT</li>
<li>CPL_ERROR_UNSUPPORTED_MODE if plotting is unsupported on the specific run-time system. </li>
</ul>
<p>References <a class="el" href="group__cpl__error.html#gaf18e95fbc6fc2cfde2a2cc8a0920b12d">cpl_ensure_code</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900aa54303ad2fb0efc3f8c57c788b342c81">CPL_ERROR_FILE_IO</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__errorstate.html#gadbf3f1525429b95837bc79a5e99b12cd">cpl_errorstate_get()</a>, <a class="el" href="group__cpl__errorstate.html#gab4487759414dfe1a7403321b86d5b3cd">cpl_errorstate_is_equal()</a>, <a class="el" href="group__cpl__memory.html#ga9cd2b64cbbe05ec9f34fda048184b4d1">cpl_free()</a>, <a class="el" href="group__cpl__memory.html#gac884edcb0a592489c65239d0e5d08785">cpl_malloc()</a>, <a class="el" href="group__cpl__type.html#ga4f6c44a14bbc3aea87b1f47acf8dfd02">CPL_SIZE_FORMAT</a>, <a class="el" href="group__cpl__memory.html#ga3182acba4528fb26736337aadfb839de">cpl_sprintf()</a>, <a class="el" href="group__cpl__vector.html#ga991ded30622122c78bb34191f7c7a7c6">cpl_vector_get_data_const()</a>, and <a class="el" href="group__cpl__vector.html#gac72d7e38ce2f5ac2e0863e2a11e9af1d">cpl_vector_get_size()</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
|