Giter VIP home page Giter VIP logo

Comments (12)

trummelbummel avatar trummelbummel commented on June 11, 2024

same here unfortunately! Any ideas on other similar options that don't throw these errors are appreciated as well. I'd need the plots, but I have the feeling that this is my best bet with the new matlab version. I have seen this issue being mentioned as related to the matlab version 2016a. Maybe downgrading matlab is a possibility for now.

Things other than plotting work well for me.

Anaconda , Ubuntu 14.04 , Matlab 2016a.

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

Yes - I now have Matlab2016 and I am seeing the same issues with plotting.

The MatlabInterpreterError that gets thrown says:

"Images must contain fewer than 2^32 - 1 bytes of data."

It looks like images are getting generated at some unreasonably high
resolution, or something like that:

http://stackoverflow.com/questions/34113784/saving-a-
very-large-image-in-matlab

I am not sure why that's happening, though.

On Wed, Aug 17, 2016 at 5:36 AM, trummelbummel [email protected]
wrote:

same here unfortunately! I just bought matlab because the spectrogram
function in python mlab was not giving me the correct results. Any ideas on
other similar options that don't throw these errors are appreciated as
well. I'd need the plots, but I have the feeling that this is my best bet
with the new matlab version. I have seen this issue being mentioned as
related to the matlab version 2016a. Maybe downgrading matlab is a
possibility for now.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNiALhNop2OLclTokDuNrqLum7pw3ks5qgwAygaJpZM4JlsAM
.

from python-matlab-bridge.

cosmojg avatar cosmojg commented on June 11, 2024

@arokem How are you viewing that MatlabInterpreterError?

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

It gets raised by cell 3 in this notebook:

https://github.com/arokem/python-matlab-bridge/blob/master/pymatbridge/examples/matlab_magic.ipynb

On Wed, Aug 17, 2016 at 12:12 PM, Cosmo [email protected] wrote:

@arokem https://github.com/arokem How are you viewing that
MatlabInterpreterError?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNkfxbBx3unrC6gCIdweBQpuwLwmdks5qg10ugaJpZM4JlsAM
.

from python-matlab-bridge.

cosmojg avatar cosmojg commented on June 11, 2024

@arokem All I see is this:

screenshot from 2016-08-17 15-39-17

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

I see that first, but then after a short wait:

On Wed, Aug 17, 2016 at 12:44 PM, Cosmo [email protected] wrote:

@arokem https://github.com/arokem All I see is this:
http://i.imgur.com/mO2Yu8b.png


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNiMPFlR_UECF-fSSg7X-FY0B4oQlks5qg2SCgaJpZM4JlsAM
.

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

screen shot 2016-08-17 at 3 17 23 pm

from python-matlab-bridge.

cosmojg avatar cosmojg commented on June 11, 2024

@arokem Ahh, I see. I guess I should have let the code run a bit longer. What are your thoughts on how to fix it? I've only just started diving into your program so I don't yet have any grand ideas of my own.

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

One possible place that might be causing this is the setting of plot
properties:

https://github.com/arokem/python-matlab-bridge/blob/master/pymatbridge/pymatbridge.py#L332-L341

If the API of this changed in Matlab 2016, something in there might cause
plots to blow up.

On Wed, Aug 17, 2016 at 4:38 PM, Cosmo [email protected] wrote:

@arokem https://github.com/arokem Ahh, I see. I guess I should have let
the code run a bit longer. What are your thoughts on how to fix it? I've
only just started diving into your program so I personally don't have any
grand ideas yet.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNlIx50j1j2wgWvAyYH-Aher35WHrks5qg5tegaJpZM4JlsAM
.

from python-matlab-bridge.

trummelbummel avatar trummelbummel commented on June 11, 2024

I am not quite sure why the size of the image would be relevant if I'd save my images within the matlab script and do not pass them back to python? Whereas I would like to pass back the computed values to python.

from python-matlab-bridge.

arokem avatar arokem commented on June 11, 2024

I think that something in this setup is causing Matlab to create images
that are unreasonably large when plot is called (see the link to SO
above).

On Wed, Aug 17, 2016 at 11:48 PM, trummelbummel [email protected]
wrote:

I am not quite sure why the size of the image would be relevant if I'd
save my images within the matlab script and do not pass them back to
python? Whereas I would like to pass back the computed values to python.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNuOG4p-pvuKGJxC317lWLRYW9eoFks5qhAAzgaJpZM4JlsAM
.

from python-matlab-bridge.

trummelbummel avatar trummelbummel commented on June 11, 2024

Ah thank you! I didn't see that.

from python-matlab-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.