Commit 3e203607 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Reactivate scale limit (min, max).

parent 5398a461
......@@ -66,13 +66,13 @@ void create_graph(blc_channel *input, char const *title, int refresh_period, flo
init_term(pipef, title, verbatim);
// if (min!=max) fprintf(pipef, "set yrange [%f:%f]\n", min, max);
// if (xmin!=xmax) fprintf(pipef, "set xrange [%f:%f]\n", xmin, xmax);
if (min!=max) fprintf(pipef, "set yrange [%f:%f]\n", min, max);
if (xmin!=xmax) fprintf(pipef, "set xrange [%f:%f]\n", xmin, xmax);
if (input->dims_nb==2){
// fprintf(pipef, "set xrange [%f:%f]\n", 0, 10);
/*fprintf(pipef, "set yrange [%f:%f]\n", 0, 10);*/
// fprintf(pipef, "set zrange [%f:%f]\n", min, max);
fprintf(pipef, "set xrange [%f:%f]\n", 0.f, 10.f);
fprintf(pipef, "set yrange [%f:%f]\n", 0.f, 10.f);
fprintf(pipef, "set zrange [%f:%f]\n", min, max);
fprintf(pipef, "set view 30,190\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment