Lines Matching refs:plot

20 		$plot = $this->replace_extension($file->name(), '.png', '.plot');
21 return $project->file($plot) != NULL;
28 $plot = $this->replace_extension($file->name(), '.png', '.plot');
30 'name' => $plot));
31 $source->add_content(file_get_contents($project->path() . $plot));
39 private $plot = NULL; variable in PlotTarget
45 $this->plot = $source;
52 if (!$this->plot->valid()) {
53 $file = $this->plot->name();
54 $error = $this->plot->error();
62 $x_column = $this->plot->property('x_column') - 1;
64 $data_file = $this->plot->data_property('name');
65 $deliminator = $this->plot->data_property('deliminator');
66 $has_header = $this->plot->data_property('header') == 'yes';
67 foreach ($this->plot->columns() as $column => $name) {
74 $name = $this->plot->column($column + 1);
89 $x_label = $this->plot->axis_property('x', 'label');
93 $data->SetXAxisName($this->plot->column($x_column + 1));
94 $x_unit = $this->plot->axis_property('x', 'unit');
96 $y_label = $this->plot->axis_property('y', 'label');
101 $data->SetYAxisName($this->plot->column(current($columns) + 1));
102 $y_unit = $this->plot->axis_property('y', 'unit');
105 $width = $this->plot->property('width');
107 $height = $this->plot->property('height');
109 $plot = new pChart($width, $height);
110 $font_name = $this->plot->property('font-name');
113 $font_size = $this->plot->property('font_size');
115 $plot->setFontProperties($font_name, $font_size);
125 $plot->setGraphArea($left_margin, 2 * $h, $width - $h, $height - 2 * $h);
126 $background = $this->plot->property('background');
130 $plot->drawGraphArea($background['R'], $background['G'],
133 $plot->drawXYScale($data->GetData(), $data->GetDataDescription(),
139 $name = $this->plot->column($column + 1);
140 $style = $this->plot->line_style($name, 'style');
141 $line_color = $this->plot->line_style($name, 'color');
145 $plot->setColorPalette($line_no, $colors[$name]['R'],
148 $line_width = $this->plot->line_style($name, 'width');
150 $dot_size = $this->plot->line_style($name, 'dot-size');
152 $plot->setLineStyle($line_width, $dot_size);
153 $plot->drawXYGraph($data->GetData(),
158 $radius = $this->plot->line_style($name, 'radius');
160 $plot->drawXYPlotGraph($data->GetData(),
168 $title = $this->plot->property('title');
177 $name = $this->plot->column($column + 1);
181 $plot->setColorPalette($palette_id, $colors[$name]['R'],
185 $legend_box_size =$plot->getLegendBoxSize($description);
186 $legend_position = $this->plot->property('legend-position');
226 $plot->drawLegend($left_margin + $legend_left, 2 * $h + $legend_top, $description,
228 $plot->drawTitle($h, 0, $title, 0, 0, 0, $width-$h, $h * 2, 100);
229 $plot->Render($this->path($working_path));
231 $file_name =$this->plot->name();