next up previous index
Next: Attribute Box Up: Visualizing Datasets Previous: One-dimensional Plots   Index

Two-dimensional Plots

One often is interested in a spatial graphical presentation of a dataset attribute. By default, datasets have no spatial coordinate axes. If you want a dataset to have a coordinate system, set the dataset's class attribute _coordinate_system to be a tuple of the attribute names for the x and y coordinates, e.g. to ('relative_x','relative_y'). This information then will be used by routines that need it.

plot_map(name, ...)
creates an image using the matplotlib library.
r_image(name, ...)
does the same using the rpy library.


next up previous index
Next: Attribute Box Up: Visualizing Datasets Previous: One-dimensional Plots   Index
info (at) urbansim.org