-
Notifications
You must be signed in to change notification settings - Fork 1.2k
The command like "subplot"doesn't work #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
This was referenced Apr 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: