I wrote this before but apparently did not save it properly.
Carlos/Jeff/whomever
I did this and it "worked" (?)
SubRoutine Color
use appgraphics
integer::window
window = initwindow(800, 600, title="Example Application")
With this I got no compile errors and a color (I think) image flashed on my screen
And the main program completed.
All of the stuff below (except declares) would not compile at all.
I would like it to stay put on my screen, or ideally write to a file. Then I would like to plot a matrix. I fell I am close but do not know what to do next.
! #include <appgraphics.h>
! CHARACTER :: splot
! INTEGER :: MAP
! set view map
!! set dgrid3d 200,200,2
! splot "sand_density1.txt" u 2:3:5
! setfillstyle(SOLID_FILL, RED)
! bar(10, 10, 160, 110)
! setfillstyle(SOLID_FILL, BLUE)
! fillellipse(85, 60, 75, 50)
None of the above would compile with either use or include the above packages with or without various attempts to declare variables.
Charlie