Mapping Toolbox
  Go to function:
    Search    Help Desk 
camupm    Examples   See Also

Camera up vector in geographic coordinates

Syntax

Description

camtargm(lat,long) sets the axes CameraUpVector property of the current map axes to the position specified in geographic coordinates. The inputs lat and long are assumed to be in the angle units of the current map axes.

[x,y,z] = camtargm(lat,long) returns the camera position in the projected Cartesian coordinate system.

Examples

Look at northern Australia from a point south of and one Earth radius above New Zealand. Set CameraUpVector to the antipode of the camera target for that down under view:

See Also

camtargm
Camera target from geographic coordinates
camposm
Camera position from geographic coordinates
camup
Camera up vector
camva
Camera view angle


[ Previous | Help Desk | Next ]