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

Notification

Icon
Error

32 Pages«<29303132>
Options
Go to last post Go to first unread
Offline uni  
#601 Posted : 07 December 2024 00:22:37(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
SMath Studio compatibility History page Changes

Plugin updated. This string representation is standard for c# Font type.

Changes:

- added font setting for text labels.

xyplot-text-lablels-font-example.sm (7kb) downloaded 14 time(s).

xyplot-text-lablels-font-example.jpg

Edited by user 07 December 2024 01:13:08(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 5 users thanked uni for this useful post.
on 07/12/2024(UTC),  on 07/12/2024(UTC),  on 07/12/2024(UTC),  on 07/12/2024(UTC),  on 07/12/2024(UTC)
Offline ioan92  
#602 Posted : 07 December 2024 05:21:43(UTC)
ioan92


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2012(UTC)
Posts: 94
France, Metropolitan

Was thanked: 169 time(s) in 132 post(s)
Thanks Viacheslav for this excellent work Clapping
Would it be possible to add the font color ?
Do to others as you would like them to do to you!
Knowledge is of no value unless you put it into practice - Chekhov
Offline uni  
#603 Posted : 07 December 2024 05:40:53(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
The color can be set in the same way as before.

xyplot-text-labels-font-example.png
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 4 users thanked uni for this useful post.
on 07/12/2024(UTC),  on 07/12/2024(UTC),  on 07/12/2024(UTC),  on 07/12/2024(UTC)
Offline B_Jack  
#604 Posted : 08 December 2024 00:19:53(UTC)
B_Jack


Rank: Advanced Member

Groups: Registered
Joined: 16/04/2023(UTC)
Posts: 30
Italy
Location: Rome

Was thanked: 7 time(s) in 6 post(s)
Now Uni there is a last effort ro address the issue of the font zooming , I imagine that it would be possible to trap the mouse weel event and scale the fonts used in the text in the XY Plot Plugin accordingly.
My best wishes to succeed , best regards

Franco
Offline Razonar  
#605 Posted : 15 December 2024 16:54:36(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
Scalable monospaced bitmapped fonts in XYPlot.

txt.png

XYPlot - Scalable monospaced bitmapped fonts.pdf (420kb) downloaded 1 time(s).

XYPlot - Scalable monospaced bitmapped fonts.sm (3,152kb) downloaded 11 time(s).

Best regards.
Alvaro.

Edited by user 15 December 2024 17:13:34(UTC)  | Reason: Not specified

thanks 3 users thanked Razonar for this useful post.
on 15/12/2024(UTC),  on 16/12/2024(UTC),  on 16/12/2024(UTC)
Offline ioncube  
#606 Posted : 16 December 2024 06:27:20(UTC)
ioncube


Rank: Advanced Member

Groups: Registered
Joined: 04/12/2017(UTC)
Posts: 70
Man
Pakistan

Was thanked: 3 time(s) in 3 post(s)
In this post @mkraska referred:

Quote:
In X-Y Plot, you can use geometric objects to create the lines and perhaps also a legend.


What does he mean?
Offline uni  
#607 Posted : 18 December 2024 09:35:18(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
Originally Posted by: ioncube Go to Quoted Post
What does he mean?

Something like that I suppose.

xyplot-copy-properties-legend.jpg

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 18/12/2024(UTC)
Offline mkraska  
#608 Posted : 18 December 2024 13:16:42(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,046
Germany

Was thanked: 1176 time(s) in 752 post(s)
Originally Posted by: uni Go to Quoted Post
Originally Posted by: ioncube Go to Quoted Post
What does he mean?

Something like that I suppose.

xyplot-copy-properties-legend.jpg



Somehow I don't manage to produce the traces settings in a loop.

2024-12-18 01_11_12-SMath Solver - [NaOH_Demiwater_VECTOR_Kr.sm_].png
NaOH_Demiwater_VECTOR_Kr.sm (198kb) downloaded 6 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 3 users thanked mkraska for this useful post.
on 18/12/2024(UTC),  on 18/12/2024(UTC),  on 18/12/2024(UTC)
Offline Razonar  
#609 Posted : 18 December 2024 14:44:45(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
Hi. How to fill a half plane and a half wave?

filling.png

filling question.sm (6kb) downloaded 5 time(s).

Best regards.
Alvaro.
Offline oscampo  
#610 Posted : 18 December 2024 15:33:37(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 284
Man
Colombia
Location: Cali, Colombia

Was thanked: 119 time(s) in 81 post(s)
Some manipulations...



filling approach.sm (14kb) downloaded 8 time(s).

Best,
Oscar
thanks 3 users thanked oscampo for this useful post.
on 18/12/2024(UTC),  on 18/12/2024(UTC),  on 18/12/2024(UTC)
Offline Razonar  
#611 Posted : 18 December 2024 15:41:37(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
Originally Posted by: oscampo Go to Quoted Post
Some manipulations...


Gracias Oscar! Very clever solutions, especially the half plane one.

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 18/12/2024(UTC),  on 18/12/2024(UTC)
Offline uni  
#612 Posted : 18 December 2024 21:09:49(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
Originally Posted by: mkraska Go to Quoted Post
Somehow I don't manage to produce the traces settings in a loop.

This needs to be done differently. Alvaro showed a working version somewhere here. You need to include the assignment sign in the string and then transform the text expression in a cycle. The thing is that substitution in curly brackets is not a native operation, but a feature of the component. Therefore, the substitution will not occur this way; you need to form the full expression in the text representation.

spherical aberration.sm (27kb) downloaded 10 time(s).

lens.png

Edited by user 18 December 2024 23:03:36(UTC)  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline oscampo  
#613 Posted : 19 December 2024 00:16:41(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 284
Man
Colombia
Location: Cali, Colombia

Was thanked: 119 time(s) in 81 post(s)
Originally Posted by: mkraska Go to Quoted Post
Somehow I don't manage to produce the traces settings in a loop.


An example...



Assign Properties by Loop.sm (20kb) downloaded 5 time(s).

Best,
Oscar

Edited by user 19 December 2024 00:42:40(UTC)  | Reason: Not specified

Offline uni  
#614 Posted : 19 December 2024 01:23:56(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,639
Man
Russian Federation

Was thanked: 1400 time(s) in 817 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi. How to fill a half plane and a half wave?

I might try adding behavior for endpoints when filling paths. Right now the default behavior is to just close the endpoints, but that behavior could be changed. For that, I'd need to iterate over all possible use cases.
Russia ☭ forever (git.io/vOZo0)
Viacheslav N. Mezentsev
Offline mkraska  
#615 Posted : 19 December 2024 02:21:39(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,046
Germany

Was thanked: 1176 time(s) in 752 post(s)
Originally Posted by: uni Go to Quoted Post
Originally Posted by: Razonar Go to Quoted Post
Hi. How to fill a half plane and a half wave?

I might try adding behavior for endpoints when filling paths. Right now the default behavior is to just close the endpoints, but that behavior could be changed. For that, I'd need to iterate over all possible use cases.


In Maxima draw, there is an option filled_function, which allows to specify a second function which defines the other side of the fill. Simply saying 0 fills to the axis, some big value fills to the boundary (top or bottom). This is much like in the hatch snippet, where 2 functions are specified.

In X-Y plot you could take a second function of the same variable in a row or in a list (just like with parametric functions, just with undefined dummy variable or you could say "to next", referring to the next trace, other options could be "to x", "to y", "to top" "close along border" etc.


Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 19/12/2024(UTC),  on 19/12/2024(UTC)
Offline mkraska  
#616 Posted : 19 December 2024 02:32:24(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,046
Germany

Was thanked: 1176 time(s) in 752 post(s)
So I understand if I don't use {} in a loop then I am safe. Of course, I could use p while building the string in the loop.

2024-12-18 14_28_13-SMath Solver - [NaOH_Demiwater_VECTOR_Kr.sm].png
NaOH_Demiwater_VECTOR_Kr.sm (198kb) downloaded 4 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Razonar  
#617 Posted : 19 December 2024 11:24:50(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
Originally Posted by: mkraska Go to Quoted Post
... In Maxima draw, there is an option filled_function, which allows to specify a second function which defines the other side of the fill. Simply saying 0 fills to the axis, some big value fills to the boundary (top or bottom). This is much like in the hatch snippet, where 2 functions are specified.


Thanks Martin! It works fine.



draw2d-filled.sm (30kb) downloaded 8 time(s).

Originally Posted by: mkraska Go to Quoted Post
... In X-Y plot you could take a second function of the same variable in a row or in a list (just like with parametric functions, just with undefined dummy variable or you could say "to next", referring to the next trace, other options could be "to x", "to y", "to top" "close along border" etc.


I don't know how to do that.

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 19/12/2024(UTC)
Offline mkraska  
#618 Posted : 19 December 2024 12:48:52(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,046
Germany

Was thanked: 1176 time(s) in 752 post(s)
Originally Posted by: Razonar Go to Quoted Post


Originally Posted by: mkraska Go to Quoted Post
... In X-Y plot you could take a second function of the same variable in a row or in a list (just like with parametric functions, just with undefined dummy variable or you could say "to next", referring to the next trace, other options could be "to x", "to y", "to top" "close along border" etc.


I don't know how to do that.

Best regards.
Alvaro.


That was just a proposal as to what control options I'd find useful.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 19/12/2024(UTC)
Offline Razonar  
#619 Posted : 19 December 2024 17:33:23(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
Originally Posted by: mkraska Go to Quoted Post
... That was just a proposal as to what control options I'd find useful.

Thanks Martin. I found it very useful too, and I thought it was already a reality. Although I think my reading comprehension was not at its best level.
Best regards.
Alvaro.

Edited by user 19 December 2024 17:35:00(UTC)  | Reason: Not specified

Offline Razonar  
#620 Posted : 20 December 2024 13:55:32(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,508
Uruguay

Was thanked: 974 time(s) in 609 post(s)
A way for filling the region between curves, combining Oscar's box and Martin's fill_func.



XYFilling.sm (25kb) downloaded 12 time(s).

Best regards.
Alvaro.

Edited by user 20 December 2024 14:46:40(UTC)  | Reason: Added half planes

thanks 5 users thanked Razonar for this useful post.
on 20/12/2024(UTC),  on 20/12/2024(UTC),  on 20/12/2024(UTC),  on 21/12/2024(UTC),  on 21/12/2024(UTC)
Users browsing this topic
Similar Topics
X-Y Plot Region Plugin (Extensions)
by ndtma 24/06/2018 06:00:49(UTC)
X-Y Plot Region Plugin Problem (Questions)
by ndtma 20/06/2018 19:38:44(UTC)
32 Pages«<29303132>
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.