"Matlab-like" plotting library

Issue 1521: contour doesnot work

Reported by Tianzhu Qiao, Jan 5, 2015

Steps to reproduce the problem:
1. install 0.46
2. run the contour demo from scilab help
   function z=my_surface(x, y),z=x*sin(x)^2*cos(y),endfunction

Expected result: 
show the contour figure

Actual result:
 !--error 202 
unglue: Wrong type for input argument #1: Handle matrix expected.
at line     160 of function contour2d called by :  
at line      93 of function contour called by :  

I think the problem is gca()/gcf()(since it is different from the 
default scilab ones). If I change the gca & gcf to _gca & 
_gcf. The above code runs fine. Thanks! 

Best Regards
Tianzhu Qiao

Comment 1 by Alberto Monetti, Sep 14, 2015

Dear Tianzhu

I have the same problem of you. What do you mean with "change 
the gca & gcf to _gca & _gcf"?


Comment 2 by Tianzhu Qiao, Sep 23, 2015

Dear Alberto,

I think the problem is that plotlib overwrites the default 
gca()/gcf() functions, and returns different handlers than the 
original functions. Thus, contour gets confused. 

I rename the gca()/gcf() in plotlib to _gca()/_gcf(), and rebuild 
the plotlib (update buildmacros.sce accordingly). It seems that it 
works fine now.

Best Regards,
Tianzhu Qiao

Comment 3 by Lexie Kings, Feb 21, 2017

seems like i ran into the same issue but my system is ubuntu while 
my colleague uses windows and everything runs smoothly though all 
the steps we did were the same since the task from 
http://essay.expert/ was the same..so do you think that the problem 
lies within OS??

Comment 4 by sambhav garg, Aug 4, 2017

sometime i am also see the same problem but 
http://allformtemplate.livejournal.com/1194.html already solve 
itself after some time.

Comment 5 by Reagan Violet, Jan 29, 2018

A good looking painting you like to share with us. A unique idea has 
this painting and i'm happy to come to this site due to is rare 
painting collection. I love paintings a lot and try to learn it to 
follow the tips and such websites. So, we can say this 
https://www.essaywritingnz.com/term-paper-writing-service/ is one of 
the best site which i have found ever.

Comment 6 by Alvina Alvina, Feb 23, 2018

A lot of something to be thankful for can mean, well, an extremely 
unnatural look. It's so natural to wind up heaping on the item with 
forming, on the grounds that it includes such huge numbers of 
various sorts of things, from the establishment to the concealer to 
the shape shade to the feature. That being stated, cosmetics can 
likewise help certainty and be fun, so it truly relies upon 
individual inclination. https://www.courseworkcamp.co.uk/

Comment 7 by Mary Elbert, Jul 3, 2018

This administration works in the US, Canada, UK, Ireland, Australia, 
New Zealand and South Africa. You can take a free preliminary and 
perceive how it attempts to meet your prerequisites. It has some 
extraordinary customer references over a wide assortment of 
organizations segments. https://www.thetexting.com/

Comment 8 by play game, Jul 9, 2018

There are the best app to given you all update this is the use way 
for connect the online mozilla firefox latest version so just access 
here https://foxdownload.org and save to all setting of this browser 
for require the online best work thanks.

Comment 9 by Baraujo Last, Jul 17, 2018

Thank you for this step-by-step guide. If you want to find more 
detailed guides you should navigate to https://persuasivepapers.com/ 

Comment 10 by keduzuxac 99, Aug 9, 2018

Zagg is a most popular name known for its InvisibleShield. It also 
provides other products like screen protectors and mobile 
accessories. https://surveyworld.xyz/zagg-register/

Comment 11 by dwyane john, Aug 18, 2018


Created: 3 years 9 months ago by Tianzhu Qiao

Updated: 2 months 2 days ago

Status: New

Followed by: 10 persons