Skip to content

graph

Get a graph handle by name or index.

h = graph
h = graph(name)

Returns a handle to a graph (data series) on the active chart. Without arguments, returns the most recently added graph. With a string name, looks up the graph by its title or label.

MathJet-specific GUI primitive.

h = graph;
h = graph('Temperature')
  • gca — Handle to the current axes.
  • gcf — Handle to the current figure.
  • marker — Add or get a data-point marker on a graph.