numbat-0.999-gnuplot.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. src/error_analysis.c | 20 ++++++++++----------
  2. 1 file changed, 10 insertions(+), 10 deletions(-)
  3. diff --git a/src/error_analysis.c b/src/error_analysis.c
  4. index eb86a6f..c0edf5f 100644
  5. --- a/src/error_analysis.c
  6. +++ b/src/error_analysis.c
  7. @@ -848,11 +848,11 @@ void write_sanson_mac(FILE * F, char * name_plot, char * name_world, int number_
  8. }
  9. fprintf(F, "reset\n");
  10. - fprintf(F, "set noxtics\n");
  11. - fprintf(F, "set noytics\n");
  12. + fprintf(F, "unset xtics\n");
  13. + fprintf(F, "unset ytics\n");
  14. fprintf(F, "set angles degrees\n");
  15. - fprintf(F, "set nogrid\n");
  16. - fprintf(F, "set noborder\n");
  17. + fprintf(F, "unset grid\n");
  18. + fprintf(F, "unset border\n");
  19. //fprintf(F, "width=40\n");
  20. //fprintf(F, "height=width*(3./4.)\n");
  21. //fprintf(F, "set xrange [-width : width]\n");
  22. @@ -867,12 +867,12 @@ void write_sanson_mac(FILE * F, char * name_plot, char * name_world, int number_
  23. fprintf(F, "YC(lat,lon)=(lon-long0)*cos(lat)\n");
  24. fprintf(F, "plot '%s' using (YC($2,$1)):(XC($2,$1)) t '' with lines lw 0.1 lt -1", name_world);
  25. for(i = 0; i < number_of_tensor; i++){
  26. - fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points %d", name_plot,
  27. - 6*i+2, 6*i+1, 6*i+2, 6*i+1, 3*i+1);
  28. - fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points %d", name_plot,
  29. - 6*i+4, 6*i+3, 6*i+4, 6*i+3, 3*i+2);
  30. - fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points %d", name_plot,
  31. - 6*i+6, 6*i+5, 6*i+6, 6*i+5, 3*i+3);
  32. + fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points", name_plot,
  33. + 6*i+2, 6*i+1, 6*i+2, 6*i+1);
  34. + fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points", name_plot,
  35. + 6*i+4, 6*i+3, 6*i+4, 6*i+3);
  36. + fprintf(F, ", '%s' using (YC($%d,$%d)):(XC($%d,$%d)) t '' with points", name_plot,
  37. + 6*i+6, 6*i+5, 6*i+6, 6*i+5);
  38. }
  39. fprintf(F, "\n");
  40. //fprintf(F, "pause 2\n");