home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / mathstud / autoplt.m < prev    next >
Encoding:
Text File  |  1995-05-19  |  403 b   |  18 lines

  1. function z=autoplt(x,y,w,t)
  2. % autoplot is an M-file which generates an x-y plot in a specified
  3. % graphics window.
  4. %
  5. % y=autoplot(x, y, w, t)
  6. % x,y - variables to plot
  7. % w   - graphics window number
  8. % t   - window title.
  9. %
  10. % autoplot is used by the autoasgn.m (AutoAssign demo)
  11.  
  12. %       S.Halevy 7/31/92
  13. %       Copyright (c) 1992 by the MathWizards
  14.  
  15. gwsel(w,[],t);
  16. plot(x,y),grid
  17. z=[];
  18.