[Firebug-cvs] firebug/web/demo results.php,NONE,1.1 test.gnu,NONE,1.1 test2.dat,NONE,1.1 testdata.da
Brought to you by:
doolin
From: <do...@us...> - 2004-02-15 15:23:37
|
Update of /cvsroot/firebug/firebug/web/demo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17451 Added Files: results.php test.gnu test2.dat testdata.dat Log Message: Demo getting moved to it's own location. --- NEW FILE: results.php --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Results demo script</title> <link rel="SHORTCUT ICON" href="../images/favicon.ico"> <link type="text/css" rel="stylesheet" href="../firebug.css"> </head> <body> <h1>Demonstration monitoring</h1> <?php /* if (!file_exists("/tmp/tempdata")) { echo "Creating /tmp/tempdata...<p>"; mkdir ("/tmp/tempdata",0755); } */ // This stuff doesn't work yet, but would be // be a better way to do this. $command = "echo -e 'set term png\n"; $command .= "set size 0.4\n"; $command .= "plot \"test2.dat\"\n'"; $command .= "| C:/gp373w32/pgnuplot.exe > test.png"; //echo $command; // System call `"C:/gp373w32/pgnuplot.exe < ./test.gnu"`; // This would be preferable, but doesn't seem to work. //passthru($command); echo "<img src=\"test.png\">"; ?> <hr /> <p> Last Updated: $Date: 2004/02/15 15:16:14 $ by $Author: doolin $. </p> </body> </html> --- NEW FILE: test.gnu --- set term png set size 0.4 set output "test.png" plot "testdata.dat" using 2 with line 1 --- NEW FILE: test2.dat --- 0 0 1 1 2 3 3 0 4 1 5 5 --- NEW FILE: testdata.dat --- 3 559 3 560 3 562 3 563 3 564 3 565 3 566 3 567 3 568 3 569 3 570 3 571 3 572 3 573 3 574 3 575 3 576 3 577 3 578 3 579 3 580 3 581 3 582 3 583 3 584 3 585 3 586 3 587 3 588 3 589 3 590 3 591 3 592 3 593 3 594 3 595 3 596 3 597 3 598 3 599 3 600 3 601 3 602 3 603 3 604 3 605 3 607 3 608 3 609 3 610 3 611 3 612 3 613 3 614 3 615 3 617 3 618 3 619 3 620 3 621 3 622 3 623 3 624 3 625 3 626 3 627 3 628 3 629 3 630 3 631 3 632 3 633 3 634 3 635 3 636 3 637 3 638 3 639 3 640 3 641 3 642 3 643 3 644 3 645 3 646 3 647 3 648 3 649 3 650 3 651 3 652 3 653 3 654 3 655 3 656 3 657 3 658 3 659 3 660 3 661 3 662 3 663 3 664 3 665 3 666 3 667 3 668 3 669 3 670 3 671 3 672 3 673 3 674 3 675 3 676 3 677 3 678 3 679 3 680 3 681 3 682 3 683 3 684 3 685 3 686 3 687 3 688 3 689 2 839 2 840 2 841 2 842 2 843 2 844 2 845 2 846 2 847 2 848 2 849 2 850 2 851 2 852 2 853 2 854 2 855 2 856 2 857 2 858 2 859 2 860 2 862 2 863 2 864 2 865 2 866 2 867 2 868 2 869 2 870 2 871 2 872 2 873 2 874 2 875 2 876 2 877 2 878 2 880 2 881 2 882 2 883 2 884 2 885 2 886 2 887 2 888 2 889 2 890 2 891 2 892 2 893 2 894 2 895 3 187 2 896 3 188 2 897 3 189 2 898 3 190 2 899 3 191 2 900 3 192 2 901 3 193 2 902 3 194 2 903 3 195 2 904 3 196 2 905 3 197 2 906 3 198 2 907 3 199 2 908 3 200 2 909 3 201 2 910 3 202 2 911 3 203 3 204 2 913 3 205 3 206 3 207 3 208 3 209 3 210 3 211 3 212 3 213 3 214 3 215 3 216 3 217 3 218 3 219 3 220 3 221 3 222 3 223 3 224 3 225 3 226 3 227 3 228 3 229 3 230 3 231 3 232 3 233 3 234 |