Hello,

I am trying to draw a 3D contour plot using the following Fortran code:

  call PLPARSEOPTS( PL_PARSE_FULL )
  call PLSFNAM( 'main_heat.png' )
  call PLSDEV( 'pngcairo' )
  call PLINIT( )

  call PLW3D( 1.0_rp, 1.0_rp, 1.0_rp, 0.0_rp, real( size, kind = rp ), &
              0.0_rp, real( size, kind = rp ), &
              0.0_rp, 100.0_rp, 90.0_rp, 0.0_rp )
  call PLOT3D( x, y, A, DRAW_LINEXY, .true. )
  call PLEND( )

However, when I execute my code, I get the following runtime error messages:

*** PLPLOT ERROR, ABORTING OPERATION ***
plw3d: Please set up 2-d window first, aborting operation

*** PLPLOT ERROR, ABORTING OPERATION ***

The documentation for PLW3D doesn't mention that I need to call other
subroutines. Any help will be greatly appreciated.

Cheers,
Wadud.

-- 
web: http://miahw.wordpress.com
mobile: +447905 755604
gpg: BDFB 2E29 B22F
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to