Basic Graphics

Basic Graphics - The augment function maybe not working on Linux - Messages

#1 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi,
I installed Smath Studio from the AUR repository, I am using Arch and the installation went fine.
I am reading the document GraficasBasicas2012.pdf, which I downloaded from the Wiki Tutorials.
The problem is that the function augment(1,2,3) works different under Linux, and I cannot figure out how to make a simple graphic as the one in the adjointed file.

graficos_prueba.sm (9 KiB) downloaded 122 time(s).

Maybe someone could help me, regards.
#2 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi,
In the Tools->Options Section I could change the semicolon <;> and now I use the comma (,) as separator. Now I can use the function augment with comma (,) but the graphic function is still not working.

I wonder whether someone can give me a hint.

Regards,
#3 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... fast, perfect meshing 'x'.

graficos.PNG
#4 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi Jean,
Tank you for the post, he problem was solved using the pallete. I will mark as solved.
graficos_prueba.png

Regards,
#5 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hi Jean,
Tank you for the post, he problem was solved using the palette.
I will mark as solved.


NO Javier, NOT solved.
Your 'x' is improperly meshed.
#6 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi Jean,
I can reproduce your example without any problem, I cannot understand where the parameters H,N and L are defined. Also, you defined a function xd and used to evaluate x. Why I cannot use range?.
I suppose that is there an useful explanation for this, which I am curious about it. Maybe, you can give me some hint?

graficos_prueba1.png
Regards,
#7 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hi Jean,
I can reproduce your example without any problem, I cannot understand where the parameters H,N and L are defined. Also, you defined a function xd and used to evaluate x. Why I cannot use range?.
I suppose that is there an useful explanation for this, which I am curious about it. Maybe, you can give me some hint?



[L,H,N] are defined in x:= xd(L,H,N)
Why I cannot use range ?.
If you use range, 'x' will start -pi
but will never exactly terminate +pi
unless N in range is 15 decimals ... totally foolish.
Your graph does not terminate +pi.
xd discretizer will populate exactly any 'N' ± pi.
Cheers ... Jean.
#8 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

... complete algo style, one of my preferred.

Javier.sm (10 KiB) downloaded 115 time(s).
#9 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi Jean,
I am greatly surprised with your answer.

I will take care of this lesson in future calculations.

Thanks in advance,
#10 Posted: 2 years ago
overlord

overlord

558 likes in 1,335 posts.

Group: Moderator

If your purpose is plotting a range, this is the way.
This is most suitable for your type of functions.
No mumbo jumbo, no algorithm, no unnecessary coding.
Only pure simple if block.

Regards

2023-03-31_03-47.png

graficos_prueba1.sm (11 KiB) downloaded 113 time(s).
1 users liked this post
sergio 2 years ago
#11 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi Overlord,
I very appreciate your thoughts, the graphics looks pretty good.

Kind regards
#12 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hi Jean,
I am greatly surprised with your answer.
I will take care of this lesson in future calculations.
Thanks in advance,


The all thing is to complete a project, mostly export.
See the missing regions ...
Please, don't hesitate ... Jean.

Javier More.sm (9 KiB) downloaded 122 time(s).

#13 Posted: 2 years ago
Javier Ochoa

Javier Ochoa

3 likes in 26 posts.

Group: User

Hi Jean,
This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.

I have a BSc in chemical engineering and a PhD in Industrial Chemistry, I also work in a biotechnology institute since 2003.

Maybe, this is why I was asking so many questions.

Kind regards,
#14 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.


You are not used yet to Smath algorithmic construction
Eager to assist your ChemEng projects.
Cheers ... Jean

Javier More.PNG
#15 Posted: 2 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

This file is showing the origin of some missing parameters, like H,L,N, thank you for this worksheet.


To fully understand the command line algorithmic construction,
revisit this 4 examples document. Cheers ... Jean

Solve(f,q,x0,x1,TOL).sm (54 KiB) downloaded 118 time(s).

  • New Posts New Posts
  • No New Posts No New Posts