Projection onto 1-D Subspace - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Linear Algebra : Visualizations : Task/ProjectionPlotOnto1D

Projection onto 1-D Subspace



This template projects a vector onto a 1-D subspace (that is, onto another vector or line through the origin).


When projecting a vector onto another vector, both vectors should be of the same dimension. To obtain a graph, the vectors must evaluate to numeric.


When projecting a vector onto a line through the origin, the vector must be 2-D.



In the graph, the black vector is the one being projected, the green vector is the projection, and the red vector is the orthogonal component.


Projection onto 1-D Subspace

Vector to be projected

Project onto






Commands Used


Related Task Templates

Linear Algebra > Vector Projection onto Vector, Linear Algebra > Generate a Projection Matrix

See Also

LinearAlgebra, VectorCalculus





Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam