Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline lilithpro  
#1 Posted : 14 September 2010 13:05:26(UTC)
lilithpro

Rank: Newbie

Groups: Registered
Joined: 14/09/2010(UTC)
Posts: 2

Hi,

I have issues plotting functions that rely on if-Statements. With the following code and anything similar, i always get "function is not defined", although i can calculate single values without a problem.



Also, i found another minor issue:

When changing text sizes, the newly selected size stays at that value, regardless which other object (with a different textsize) gets selected.

Example:

Label "Test", mark it, change its font size to 12 (from 10). Then, Create Label "Test2", font size dropdown still displays 12, although the text is 10px high. Selecting the dropdown and clicking on 12 sets the text to 12px. I think this is just missing a query for the selected object's textsize.

If this should be in another thread, sorry but i didnt want to open 2 threads just following registration.

Greetings.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Andrey Ivashov  
#2 Posted : 14 September 2010 14:50:08(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello lilithpro.

Issue with plotting the if(..) function was many time mentioned after 0.89 release. This is fixed already and will be available soon in the newer program version. For now you can try the latest beta: http://en.smath.info/forum/defa...osts&m=3387#post3387.

Regarding Font Size - it is also well known issue. Hope to fix asap.

Best regards, Andrey Ivashov.
Offline omorr  
#3 Posted : 14 September 2010 15:47:34(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello lilithpro,

Just a suggestion. The recent beta version (0.89_6) will make the plot. Pay attention in cases like this to use "eval" function or numerical optimization if you need numbers (in order to avoid symbolic processor). For instance, using your numbers:
This will fail:
a-b*c^74—#@#
Saying that the maximal number is excited
But this will do not:
a-b*c^74=457.9239
eval(a-b*c^74)=457.9239

In order to see both part of your function, use this
f(x)←if(x>70.6,eval(a-b*c^x),eval(d-e*g^x))

If you did not do this, there is no guaranty that you will even see the x>70.6 part of this discontinuous function

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline lilithpro  
#4 Posted : 14 September 2010 16:11:03(UTC)
lilithpro

Rank: Newbie

Groups: Registered
Joined: 14/09/2010(UTC)
Posts: 2

Well, thanks for the replies. Sorry if those were already mentioned, but i just had a quick look in the bugs thread searching for functions and plotting and did not find sth.

Will try the beta and look forward to the next release. Amazing software so far, keep it up!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.