-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The command like "subplot"doesn't work #310
Comments
you can change the subplot function code: PyTuple_SetItem(args, 0, PyLong_FromLong(nrows)); |
jonathanloganmoran
added a commit
to jonathanloganmoran/ND0013-Self-Driving-Car-Engineer
that referenced
this issue
Jan 22, 2023
srathi-monarch
added a commit
to srathi-monarch/matplotlib-cpp
that referenced
this issue
Jul 31, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
It doesn't work well above, but work well below.
plt::figure(1);
plt::plot(t3, p3);
plt::title("p-t");
plt::xlabel("t/ms");
plt::ylabel("p/Mpa");
plt::figure(2);
plt::plot(l3, p3);
plt::title("p-l");
plt::xlabel("l/dm");
plt::ylabel("p/Mpa");
plt::figure(3);
plt::plot(t3, v3);
plt::title("v-t");
plt::xlabel("t/ms");
plt::ylabel("v/(m/s)");
plt::figure(4);
plt::plot(l3, v3);
plt::title("v-l");
plt::xlabel("l/dm");
plt::ylabel("v/(m/s)");
plt::show();
The text was updated successfully, but these errors were encountered: