MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / xrange

Function xrange

source/matplot/freestanding/axes_functions.cpp:508–510  ·  view source on GitHub ↗

\brief Sets limits on current axes

Source from the content-addressed store, hash-verified

506
507 /// \brief Sets limits on current axes
508 void xrange(const std::array<double, 2> &limits_x_y) {
509 xrange(gca(), limits_x_y);
510 }
511
512 /// \brief Sets limits on given axes
513 void xrange(axes_handle ah, const std::array<double, 2> &limits_x) {

Callers 1

mainFunction · 0.85

Calls 4

gcaFunction · 0.85
limitsMethod · 0.80
limits_mode_autoMethod · 0.80
touchMethod · 0.45

Tested by

no test coverage detected