Basic Graphics

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

#1 Objavljeno: 29. 3. 2023. 14:41:21
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: 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,46 KiB) preuzeto 1672 put(ova).

Maybe someone could help me, regards.
#2 Objavljeno: 29. 3. 2023. 15:59:11
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: 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 Objavljeno: 30. 3. 2023. 08:09:11
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

... fast, perfect meshing 'x'.

graficos.PNG
#4 Objavljeno: 30. 3. 2023. 10:21:48
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: 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 Objavljeno: 30. 3. 2023. 11:34:39
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 30. 3. 2023. 12:16:30
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: 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 Objavljeno: 30. 3. 2023. 13:09:12
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 30. 3. 2023. 15:28:21
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Javier.sm (10,69 KiB) preuzeto 1659 put(ova).
#9 Objavljeno: 30. 3. 2023. 16:22:54
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: User

Hi Jean,
I am greatly surprised with your answer.

I will take care of this lesson in future calculations.

Thanks in advance,
#10 Objavljeno: 30. 3. 2023. 21:49:26
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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,05 KiB) preuzeto 1669 put(ova).
1 korisnika je svidelo ovu objavu
sergio 31. 3. 2023. 10:20:00
#11 Objavljeno: 31. 3. 2023. 09:40:31
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: User

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

Kind regards
#12 Objavljeno: 31. 3. 2023. 10:55:57
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,5 KiB) preuzeto 1714 put(ova).

#13 Objavljeno: 31. 3. 2023. 11:05:02
Javier Ochoa

Javier Ochoa

3 svidjanja u 26 postova.

Grupa: 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 Objavljeno: 31. 3. 2023. 20:27:42
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 1. 4. 2023. 10:20:34
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,65 KiB) preuzeto 1649 put(ova).

  • Novi postovi
  • Nema novih postova