Hi Ken, Unfortunately there is no complete replacement for ISOSURFACE in function graphics. However, it is possible to do what you desire with a few extra steps. Here is an example, which you can run in any IDL installation. ==== ; First, load the MRI head data into IDL. file = FILEPATH('head.dat', SUBDIRECTORY = ['examples', 'data']) data = READ_BINARY(file, DATA_DIMS = [80, 100, 57]) ; Use Shade_Volume to get the isosurface veritces for a set contour value. In this case, 190 SHADE_VOLUME, data, 190, iso_verts, iso_conn, /VERBOSE ; Plot the original volume to setup the dataspace, using /NODATA to not show it vol = volume(data,/nodata,aspect_ratio=1,aspect_z=1) ;Create the surface with Polygon and connectivity keyword. p = POLYGON(REFORM(iso_verts[0,*]), REFORM(iso_verts[1,*]), $ REFORM(iso_verts[2,*]), /DATA, CONNECTIVITY=iso_conn, $ COLOR='red', CLIP=0)
|