Change the y-axis direction for a 2d Cider gnuplot. The device surface is at the top and downwards is into the material, which is the normal presentation. Note that the x/y mesh commands in a Cider model also affect the orientation.
This commit is contained in:
parent
62f326b9d0
commit
b774d03162
|
|
@ -402,6 +402,7 @@ void ft_gnuplot(double *xlims, double *ylims,
|
|||
fprintf(file, "set contour\n");
|
||||
fprintf(file, "unset surface\n");
|
||||
fprintf(file, "set cntrparam levels 20\n");
|
||||
fprintf(file, "set yrange reverse\n");
|
||||
fprintf(file, "set xlabel 'X microns'\n");
|
||||
fprintf(file, "set ylabel 'Y microns'\n");
|
||||
fprintf(file, "set key outside right\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue