# include # include # include "dislin.h" int main ( int argc, char *argv[] ); /******************************************************************************/ int main ( int argc, char *argv[] ) /******************************************************************************/ /* Purpose: MAIN demonstrates the creation of a map plot. Modified: 03 September 2005 */ { printf ( "\n" ); printf ( "DISLIN_EX13:\n" ); printf ( " Demonstrate the creation of a map plot.\n" ); /* Specify the format of the output file. */ metafl ( "PNG" ); /* Specify the name of the output graphics file. */ setfil ( "dislin_ex13.png" ); disini ( ); pagera ( ); complx ( ); frame ( 3 ); axspos ( 400, 1850 ); axslen ( 2400, 1400 ); name ( "Longitude", "x" ); name ( "Latitude", "y" ); titlin ( "World Coastlines and Lakes", 3 ); labels ( "map", "xy" ); grafmp ( -180.0, 180.0, -180.0, 90.0, -90.0, 90.0, -90.0, 30.0 ); gridmp ( 1, 1 ); color ( "green" ); world ( ); color ( "fore" ); height ( 50 ); title ( ); disfin ( ); printf ( "\n" ); printf ( "DISLIN_EX13:\n" ); printf ( " Normal end of execution.\n" ); return 0; }