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

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!mcsun!sun4nl!dutrun!donau!dutind2.twi.tudelft.nl!edwin
  3. From: edwin@dutind2.twi.tudelft.nl (Edwin Vollebregt)
  4. Subject: plots with different options in one picture?
  5. Message-ID: <1992Nov17.101642.28797@donau.et.tudelft.nl>
  6. Sender: news@donau.et.tudelft.nl (UseNet News System)
  7. Nntp-Posting-Host: dutind2.twi.tudelft.nl
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. Date: Tue, 17 Nov 1992 10:16:42 GMT
  10. Lines: 66
  11.  
  12. Dear Netters,
  13.  
  14.     Currently I'm working on a finite difference program for calculating
  15. the flow of water in some region. I'm trying to provide graphical output
  16. with GNUplot. I'm having a lot of difficulties, and that's why I'm turning
  17. to you all out there.
  18.  
  19. Here are some of the things that I want GNUplot to do. I can't find out
  20. how they are possible, if they are.
  21.     Questions: 
  22.        - do you know how I can make the desired plots?
  23.        - if GNUplot is not capable of something, do you think that it
  24.          SHOULD BE, are you experiencing the same problems?
  25.  
  26.  Consider some 2D region, e.g. a lake. Define a grid, and the depth
  27.  at each grid-point d(x,y). The grid g(x,y) looks like:
  28.          0  0  1  1  0  
  29.          1  1  1  1  1     
  30.          0  1  1  0  0
  31.  
  32.  1) Can I plot the 3D surface d(x,y) and the contour-lines of g(x,y) in
  33.     one picture?  (especially the contour g(x,y) = 0.5 is interesting,
  34.     because it is the outline of the lake)
  35.  
  36.  2) Can I plot the 3D surface d(x,y) in non-parametric mode (hidden line)
  37.     and the outline of the lake in parametric mode (a number of coordinate
  38.     points) ?
  39.  
  40.  3) Can I plot the 3D surface d(x,y) with data-style lines and the grid-
  41.     points with data-style points ?
  42.  
  43.  These three questions can be summarized by:
  44.     Is it possible to show plots with different options ((no) contour,
  45.     data-style, 2D/3D, (non)parametric, ...) in one picture ?
  46.  
  47.  Now consider the currents in the lake. In each grid-point we know the
  48.  U velocity in x-direction and V velocity in y-direction.
  49.       e.g.     ^       --  -  \
  50.              y |     / -   \  |
  51.                      \ --  -  /
  52.                 -> x
  53.  
  54.  4) Can I plot the vector-field (U(x,y), V(x,y)) in a 2D picture in some
  55.     other way than using  set arrow from x, y to x+U, y+V  all the time ?
  56.  
  57.  5) Can I draw the outline of the lake in there too ?
  58.  
  59. Maybe I haven't looked at GNUplot good enough, or am I asking too much.
  60. But when you have the same problems, it might be worth while to extend
  61. GNUplot with some new features.
  62.  
  63. Now, after reading all this stuff, it can't be too much when asking for 
  64. your reply.
  65.                          Hope to hear from you soon,
  66.                                                       Edwin
  67.  _________________________________________________________________________ 
  68. |                            |                                 |          |
  69. | Ir. E.A.H. Vollebregt      |  Section of Applied Mathematics |    ,==.  |
  70. |                            |  Delft University of Technology |   /@  |  |
  71. | phone +31(0)15-785805      |  Mekelweg 4                     |  /_  <   |
  72. | edwin@pa.twi.tudelft.nl    |  2628 CD Delft                  |  =" `g'  |
  73. |                            |     The Netherlands             |          |
  74. |____________________________|_________________________________|__________|
  75.        Why bother about graphics programs, when you can make such nice
  76.        pictures with the ASCII set only...
  77.  
  78.