## PyPlot_test() # # Licensing: # # This code is distributed under the MIT license. # # Modified: # # 06 February 2017 # # Author: # # John Burkardt # using Dates using PyPlot println( now( ) ) println( "" ) println( "PyPlot_test():" ) println( " Julia version" ) println( " Test PyPlot() for graphics" ) # # Julia complains if I use spaces around parentheses! # Score another point for the barbarians! # for i = 1 : 5 y = cumsum( randn( 500 ) ) plot( y ) end savefig( "PyPlot_test.png") println( "" ) println( " Graphics saved as 'PyPlot_test.png'" ) # # Terminate. # println( "" ) println( "PyPlot_test():" ) println( " Normal end of execution." ) println( now( ) )