ibell/coolprop

Plot in octave

Opened this issue · 12 comments

captura de tela 2014-10-02 15 52 10
Hi.
I can't plot a graphic in octave if i use Coolprop.
The error that appears is in the image
Any help is welcome :)

Sorry about my bad english

Can you attach the entire script please? I don't think this is a CoolProp problem.

But if i don't start the "Coolprop.oct" i can plot normally

With coolprop
captura de tela 2014-10-02 16 13 55

Without coolprop
captura de tela 2014-10-02 16 16 00

PS:By script you mean the entire error? Because that's all that appears

That is very weird. What is at line 28 in your script file?

If you are not too invested into octave, I really recommend python for
these sorts of things. Your script would only be a few lines in python.
Especially on windows the octave support is quite bad.

Ian

On Thu, Oct 2, 2014 at 9:18 PM, Jjhayi notifications@github.com wrote:

But if i don't start the "Coolprop.oct" i can plot normally

With coolprop
[image: captura de tela 2014-10-02 16 13 55]
https://cloud.githubusercontent.com/assets/9000464/4496681/5559fbb2-4a68-11e4-9bd5-c0c889146e12.png

Without coolprop
[image: captura de tela 2014-10-02 16 16 00]
https://cloud.githubusercontent.com/assets/9000464/4496722/a281032c-4a68-11e4-8b4b-c3bf66079b41.png

PS:By script you mean the entire error? Because that's all that appears


Reply to this email directly or view it on GitHub
#241 (comment).

just plot(x,Tc,"b",x,Th,"r")

Date: Thu, 2 Oct 2014 12:20:10 -0700
From: notifications@github.com
To: coolprop@noreply.github.com
CC: gio.delsoto@hotmail.com
Subject: Re: [coolprop] Plot in octave (#241)

That is very weird. What is at line 28 in your script file?


Reply to this email directly or view it on GitHub. =

hmm. How can you plot without having coolprop loaded?

Using the same thing.

If i use coolprop, should i plot in a different way?

It shouldn't have any impact on plotting at all. Seems like a bug in
Octave.

On Thu, Oct 2, 2014 at 9:36 PM, Jjhayi notifications@github.com wrote:

If i use coolprop, should i plot in a different way?


Reply to this email directly or view it on GitHub
#241 (comment).

well, i gonna try to reinstall
if don't work, i gonna try to learn python :)

Yes I think it is a good investment to learn python. It works great for
these sorts of problems. It is my primary language, so if you have
problems I can guarantee we can fix them. Octave is pretty buggy.

On Thu, Oct 2, 2014 at 9:40 PM, Jjhayi notifications@github.com wrote:

well, i gonna try to reinstall
if don't work, i gonna try to learn python :)


Reply to this email directly or view it on GitHub
#241 (comment).

Okey dokey sir :)
Thanks for your time