Search notes:

SAS: proc plot

proc plot plots two variables of an observation in two dimensional a x-y coordinate system.
Apparently, proc plot is only able to create » ASCII ART«, no png's, jpeg's etc seem possible …

ods listing

data x_y;
/* drop i; */
   do i=1 to 20;
      x = rand('unif') * 30;
      y = cos(x/20) * (x/9)**2 + rand('norm') * 0.2;
      output;
   end;
run;

options
  pagesize = 30
  linesize = 70 
;

proc plot data=x_y;
  plot y * x;
  title 'Some fancy title...';
run;
/*
   Some fancy title...              14:53 Wednesday, December 6, 2017  79
  
             Plot of y*x.  Legend: A = 1 obs, B = 2 obs, etc.
  
  y |
  3 +
    |
    |                                        A            B
    |                                    A           A      B
    |                                                 AA    A
    |                                A
  2 +
    |
    |                         A  A
    |
    |                      A                                          A
    |                        A
  1 +                     A
    |                                                                 A
    |                  A
    |
    |
    |       A
  0 +
    -+----------+----------+----------+----------+----------+----------+
     0          5         10         15         20         25         30
*/
Github repository about-SAS, path: /programming/proc/plot/listing.sas

See also

SAS programming: proc

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759562068, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/plot/index(91): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78