-
Notifications
You must be signed in to change notification settings - Fork 96
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
How to plot floating figures #101
Comments
Try running it after starting the Matlab object with: Matlab(startup_options='-nodesktop') The default is to also have a '-nodisplay' in there, so it doesn't pop up. On Fri, Dec 5, 2014 at 1:54 PM, ImmanuelSamuel notifications@github.com
|
Ok I got that. One more question. %%matlab I dont get my variable a in the workspace window that pops up. I am assuming that the matlab instance is same so it should have the variable correct? |
Yes - it is the same matlab instance. Do you get the same thing if you call On Mon, Dec 8, 2014 at 6:41 AM, ImmanuelSamuel notifications@github.com
|
Yup the same thing. Running the following also results in the same Output: {'content': {'figures': [], 'code': 'a=1;', 'datadir': '/tmp/MatlabData/', 'stdout': ''}, 'success': 'true'} Out: |
Yeah - I get that too. I am not sure what to make of it. When I run On Mon, Dec 8, 2014 at 8:31 AM, ImmanuelSamuel notifications@github.com
|
Huh interesting! Would be neat to find out exactly whats happening. Also in the workspace window that opens the right click -> new option to add a variable doesn't work. Maybe this might help with figuring out whats happening. |
Also is there a way to issue the 'startup_options='-nodesktop'' when using load_ext pymatbridge? |
Unfortunatly not, and see also: On Tue, Dec 9, 2014 at 7:12 AM, ImmanuelSamuel notifications@github.com
|
I think I traced the issue (at least on Linux). Since we are always running the
If you run this function, the plot is not shown until you hit Ctrl+C. If you remove the infinite while, the plot is shown after the function ends. |
But this works: function loop()
plot([1,2,3])
while 1
pause(0.001)
end
end |
Hmm, the actual inner loop appears to be here, which means we'd have to go to a non-blocking |
Hi, How can I run "figure" in a ipython cell and get the figure on a floating window? Right now I get a blank space inline. I would like to plot an image and use matlab figure properties. I also have some custom tools on an interactive figure window. Is this possible?
Thanks
The text was updated successfully, but these errors were encountered: