Lines Matching refs:scale
186 w->strip_chart.scale = w->strip_chart.min_scale;
251 * point is off the graph, change the scale to make it fit.
256 if (w->strip_chart.max_value > w->strip_chart.scale) {
265 w->strip_chart.scale);
277 w->strip_chart.points, w->strip_chart.scale - 1,
289 * (scale - 1 lines for graph). If next is less than the current window width,
303 int scale = w->strip_chart.scale;
306 /* Compute the minimum scale required to graph the data, but don't go
308 if (w->strip_chart.interval != 0 || scale <= (int)w->strip_chart.max_value)
309 scale = ((int) (w->strip_chart.max_value)) + 1;
310 if (scale < w->strip_chart.min_scale)
311 scale = w->strip_chart.min_scale;
313 if (scale != w->strip_chart.scale) {
314 w->strip_chart.scale = scale;
338 w->core.height) / w->strip_chart.scale;
346 for (i = 1; i < w->strip_chart.scale; i++) {
347 j = i * (w->core.height / w->strip_chart.scale);
415 for (i = 1; i < w->strip_chart.scale; i++) {
416 j = i * (w->core.height / w->strip_chart.scale);
472 if (w->strip_chart.scale <= 1) { /* no scale lines. */
478 size = sizeof(XPoint) * (w->strip_chart.scale - 1);
485 for (i = 1; i < w->strip_chart.scale; i++) {
487 points[i - 1].y = HEIGHT / w->strip_chart.scale;