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:
Brian Taylor 2022-02-12 22:38:34 -08:00 committed by Holger Vogt
parent 62f326b9d0
commit b774d03162
1 changed files with 1 additions and 0 deletions

View File

@ -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");