Changeset 79 for trunk/matml/webselector/php
- Timestamp:
- 08/07/2004 09:07:55 PM (8 years ago)
- Location:
- trunk/matml/webselector/php
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/matml/webselector/php/font.php
r48 r79 5 5 $black = imagecolorallocate($im, 0, 0, 0); 6 6 7 $font = " /home/el_oso/public_html/matdl/php/helcr.ttf";7 $font = "helcr.ttf"; 8 8 9 9 // Replace path by your own font path -
trunk/matml/webselector/php/plot.php
r76 r79 6 6 7 7 $plottype = $_REQUEST['plot']; 8 $log = $_REQUEST['log']; 8 if(isset($_REQUEST['log'])) 9 $log = $_REQUEST['log']; 10 else 11 $log = 0; 9 12 10 13 … … 31 34 // For using a nice font 32 35 33 $font = " /home/el_oso/public_html/matdl/php/vixar.ttf";36 $font = "vixar.ttf"; 34 37 35 38 //$valuesX = array(0,10,20,30); … … 65 68 66 69 67 for($i = 0; $i < count($number_mat); $i++) {70 for($i = 0; $i < $number_mat; $i++) { 68 71 69 72 … … 88 91 89 92 imagettftext($image, 14, 0, $x-25, $y-3, $black, $font, $names[$i]); 93 } 90 94 imagettftext($image, 14, 0, .75 * $Isize/2, $Isize * 0.99, $black, $font, $xlabel); 91 95 imagettftext($image, 14, 90, 15 , 1.25*($Isize)/2, $black, $font, $ylabel); 92 }93 96 94 97 Header("Content-Type: image/png"); -
trunk/matml/webselector/php/select.php
r48 r79 14 14 <div id="main"> 15 15 <? 16 $plot = $_REQUEST[ plot];16 $plot = $_REQUEST["plot"]; 17 17 18 18 if(!isset($plot)){