next up previous contents index
Next: Datablocks for the Up: The Map commands Previous: Map_cover

Examples

In the following example, we draw a map around residue b50. The map will go into an object called map_a:

map_file m10_a.dsn6
map_par 12. 12. 12. 0.18 sky_blue 0.5 0.1 1
map_obj map_a 2.0
map_atom b50
map_draw

Map_cover is useful when making photographs or plots, and you want to get rid of irrelevant density, but it is also useful just to draw the density around an object. In this case you should chose a large radius, so you dont accidentally mask out density that you want to see. In this macro, we define a sphere of atoms, and cover them with a map:

centre_id wait_id
object sph  sphere 8. end
map_cover sph 5.
map_obj map_a map_draw