Lines Matching refs:return

55     $return = array(
92 $return['columns'] = count($cols);
99 $return['xlabel'] = $match[1];
103 $return['ylabel'] = $match[1];
107 $return['xrange'] = $match[1];
110 $return['yrange'] = $match[1];
113 $return['layout'] = strtolower($match[1]);
116 $return['plottype'] = $match[1];
119 $return['smooth'] = true;
122 $return['align'] = $match[1];
125 $return['width'] = $match[1];
126 $return['height'] = $match[2];
129 $return['width'] = $match[1];
132 $return['height'] = $match[1];
135 $return['debug'] = true;
139 $return['version'] = date('Y-m-d H:i:s');
140 $return['hash'] = (string) uniqid("dataplot_", true);
144 if ( $return['width'] != 0 && $return['height'] != 0 ) {
145 $gnu_size = ' size '.$return['width'].','.$return['height'];
150 if ( strlen($return['xlabel']) > 0 ) {
151 $gnu_labels .= "set xlabel \"".$return['xlabel']."\"\n";
153 if ( strlen($return['ylabel']) > 0 ) {
154 $gnu_labels .= "set ylabel \"".$return['ylabel']."\"\n";
156 if ( strlen($return['xrange']) > 0 ) {
157 $gnu_ranges .= "set xrange [".$return['xrange']."]\n";
159 if ( strlen($return['yrange']) > 0 ) {
160 $gnu_ranges .= "set yrange [".$return['yrange']."]\n";
164 foreach ($return as $param => $value) {
179 for ($i=2; $i<=$return['columns']; $i++) {
181 if ( $return['smooth'] && ($return['plottype'] == 'linespoints') ) {
186 …$gnu_code .= $sep.'"@gnu_input@" using 1:'.$i.' notitle with '.$return[plottype].' linestyle '.$gn…
191 $return['gnuplot'] = $gnu_code;
194 io_saveFile($this->_cachename($return, 'txt'), $input);
196 return $return;