Skip to content

ElkmanY/ship-marker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ship-marker

Draw ship-shaped markers on a curve with Matlab function Plot.

usage

shipmk( x, y, psi, ms, mn, mc );  

inputs:

  • (x, y) - point set of the trajectory.
  • psi - heading of ship markers (in rad) with the same length of x and y, default headings are along the trajectory.
  • ms - ship marker scale in range (positive real scalar), default scale is 1.
  • mn - ship marker number (positive integer scalar), default number is 5.
  • mc - ship marker color ( 'r', 'g', 'b' OR [0.4 0.4 0.5], etc), default color is 'y'.

example

Run an example by executing

example.m

example_plot

About

Matlab code for plotting ship markers along a trajectory.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages