clawpack / visclaw

Clawpack visualization tools
http://www.clawpack.org
BSD 3-Clause "New" or "Revised" License
29 stars 48 forks source link

Add 2d_hillshade to visclaw frametools #296

Closed kbarnhart closed 1 year ago

rjleveque commented 1 year ago

@kbarnhart: Thanks! I'm trying it out and have a couple questions we can sort out today before merging.

rjleveque commented 1 year ago

Sample application in setplot.py:

    plotitem = plotaxes.new_plotitem(plot_type='2d_hillshade')
    plotitem.plot_var = geoplot.land
    plotitem.hillshade_cmap = 'gray'
    plotitem.hillshade_vertical_exaggeration = 2
    plotitem.hillshade_azimuth_degree =  315
    plotitem.hillshade_altitude_degree = 45
    plotitem.hillshade_latlon = True