home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / gnuplot / 396 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.0 KB  |  45 lines

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!caen!hellgate.utah.edu!irit.cs.utah.edu!gershon
  3. From: gershon%irit.cs.utah.edu@cs.utah.edu (Elber Gershon)
  4. Subject: Re: Contour Control
  5. Date: 17 Nov 92 14:36:11 MST
  6. Message-ID: <1992Nov17.143611.27374@hellgate.utah.edu>
  7. Organization: University of Utah CS Dept
  8. References: <9211120707.AA15017@elrond.physics.mcgill.ca> <1992Nov12.180723.5456@leland.Stanford.EDU> <1992Nov12.183810.10682@leland.Stanford.EDU>
  9. Lines: 34
  10.  
  11. In article <1992Nov12.183810.10682@leland.Stanford.EDU> wolf@leland.Stanford.EDU (Andy Wolfsberg) writes:
  12. >
  13. >ONe more question while were at it.
  14. >I finally figured out how to contour and surface mesh
  15. >2-d data. You have to put a blank line after each row
  16. >of data (which are specified one point per line in a long column)
  17. This is correct. do 'help datafile' for more. 
  18.  
  19. >However, you can not specify the x,y locations (i,e, parametric)
  20. >you must set noparmetric and list only the z values
  21. Look at the way the glass.dat is plotted in contours.demo in the demo
  22. directory. It is in parametric mode, and you can plot and contour
  23. parametric functions/datafiles.
  24.  
  25. >The problem: I have data from a 40x40 grid which represents
  26. >an 80x80 domain (deltaX = 2). When I contour it up, I want the
  27. >axis to go from 0 to 80 but they only go from 0 to 40.
  28. You will have to create the X & Y values (have 3 numbers,
  29. corresponding to X, Y & Z, in every line of your data), and 
  30. 'set parametric'.
  31.  
  32. >Does anyone know of a way to rename the axis of a noparametric
  33. >contour plot.  I.E. keep the plot the same, just rewrite the
  34. >axis lables?
  35. If gnuplot is in noparametric mode, the X & Y axes are incremented
  36. uniformly by 1 starting from zero, and this is not settable by the user.
  37.  
  38. Hope thats help,
  39.  
  40. Gershon
  41. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  42. Elber Gershon                            gershon@cs.utah.edu
  43. 918 University village                   Tel: (801) 582-1807 (Home)
  44. Salt Lake City, Utah 84108-1180          Tel: (801) 581-5642 (Work)
  45.