X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Messages
#641 Posted: 7/24/2025 8:18:27 AM
Установил Development Tools. Но программа 'tst_xyplot_v2.sm' все равно не работает (но, наверное, этот плагин не для этого). В приложении - файл с моей системной информацией.
sys_info.txt (1 KiB) downloaded 35 time(s).
sys_info.txt (1 KiB) downloaded 35 time(s).
#642 Posted: 7/24/2025 8:44:56 AM
В папке плагина есть конфигурационный файл: %APPDATA%\SMath\extensions\plugins\c12231ec-4873-43c1-a7d0-a167ebd17066\0.3.9106.25707\XYPlotPlugin.config
Закройте SMath Studio и измените значение Debug в True:
После этого запустите SMath Studio. В этой же папке появится файл лога: XYPlotRegion.log
Приложите его сюда тоже. Там будет указано какая версия .Net используется плагином для работы.
Закройте SMath Studio и измените значение Debug в True:
<Debug>True</Debug>
После этого запустите SMath Studio. В этой же папке появится файл лога: XYPlotRegion.log
Приложите его сюда тоже. Там будет указано какая версия .Net используется плагином для работы.
Edited 7/24/2025 8:45:42 AM
Russia ☭ forever, Viacheslav N. Mezentsev
#643 Posted: 7/24/2025 1:10:31 PM
Sorry, switched to Russian. The file attached is the log-file after the prescribed 'magic' actions
It is written in the file 'Net: 2.0...' I guess it is not what we need.
XYPlotRegion.log (574 B) downloaded 28 time(s).

XYPlotRegion.log (574 B) downloaded 28 time(s).
Edited 7/24/2025 1:11:27 PM
#644 Posted: 7/24/2025 2:51:12 PM
It's strange that the old version of the framework is selected instead of the new one. In fact, this particular plugin is compatible with the old version, but I haven't tested it in such an environment for a long time.
Perhaps this is the reason.
For everyone else, including me, the new version of the framework is apparently selected.
You can try installing .Net Framework 4.8, for example. Maybe this will help.
Perhaps this is the reason.
For everyone else, including me, the new version of the framework is apparently selected.
You can try installing .Net Framework 4.8, for example. Maybe this will help.
Russia ☭ forever, Viacheslav N. Mezentsev
#645 Posted: 7/24/2025 3:27:42 PM
I was able to reproduce the problem. It is indeed a version issue.
You can also try another solution.
You can try changing the contents of the file: C:\Program Files (x86)\SMath Studio\Solver.exe.config
You can try to remove the old version by deleting the line with it and adding the existing version. You can ask the deepseek to suggest a variant of writing these lines.
P.S. I fixed the error. The fix will be available in the next version of the plugin. The problem was in the plugin sources.
You can also try another solution.
You can try changing the contents of the file: C:\Program Files (x86)\SMath Studio\Solver.exe.config
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
<supportedRuntime version="v2.0.50727" />
</startup>
You can try to remove the old version by deleting the line with it and adding the existing version. You can ask the deepseek to suggest a variant of writing these lines.
P.S. I fixed the error. The fix will be available in the next version of the plugin. The problem was in the plugin sources.
Edited 7/24/2025 3:49:28 PM
Russia ☭ forever, Viacheslav N. Mezentsev
#646 Posted: 7/24/2025 3:57:27 PM
It works finally. I can see now all plots in program 'tst_xyplot_v2.sm'. I could not download NET Framework 4.8 (some errors). But, as you suggested, I found a version of NET Framework installed on my computer (4.0.30319). I have changed "v2.0.50727" in the second line of 'supportedRuntime ...' to my number, and it works. Thank you for your help. I am really impressed by your dedication, supporting plugins and helping people for more than 15 years.
Edited 7/24/2025 3:58:24 PM
2 users liked this post
#647 Posted: 7/24/2025 4:49:38 PM



Plugin updated. Please try.
Changes:
- added support for high DPI when displaying fonts;
- fixed the CopyTo() method in HashSet.cs;
- supplemented the error message when trying to display complex numbers.
The last problem was related to an incorrect manual implementation of the CopyTo() method, which only now became apparent.
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
#648 Posted: 7/25/2025 7:10:54 AM
Funny bug. When drawing shapes, the fill is also drawn, even if it is disabled in the curve properties. If you superimpose circles on top of each other, it creates the impression that the color depends on the radius.

XYPlot. Linear polar.sm (56 KiB) downloaded 703 time(s).
XYPlot. Linear polar.pdf (134 KiB) downloaded 589 time(s).

XYPlot. Linear polar.sm (56 KiB) downloaded 703 time(s).
XYPlot. Linear polar.pdf (134 KiB) downloaded 589 time(s).
Edited 7/25/2025 7:15:58 AM
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
#649 Posted: 7/25/2025 12:45:29 PM
1 users liked this post
Rafael H Padilla Velázquez 7/25/2025 3:39:21 PM
#650 Posted: 7/25/2025 5:44:21 PM
WroteFunny bug. ...
Hi Viacheslav. A workaround for the bug, and a simplified way to those plots.

XYPolar.sm (42 KiB) downloaded 32 time(s).
Best regards
Alvaro.
Edited 7/25/2025 5:52:20 PM
1 users liked this post
Вячеслав Мезенцев 7/25/2025 7:28:38 PM
#652 Posted: 7/26/2025 6:07:13 AM
Wrote... Plugin updated. Please try.
It works fine.
Best regards.
Alvaro.
#653 Posted: 7/26/2025 6:15:08 AM
WroteI think I can adapt this syntax to customize the properties of a set of curves....
What about this notation?. And with the option for assigning a vector, like a colormap.
.Traces(,) - for all curves
.Traces(i,j) - for curves from i to j
.Traces(,j) - for curves from 0 to j
.Traces(i,) - for curves from i to end
Best regards.
Alvaro.
Edited 7/26/2025 6:16:40 AM
#656 Posted: 7/26/2025 12:11:07 PM
#657 Posted: 7/26/2025 7:47:47 PM
#658 Posted: 7/26/2025 8:24:12 PM
#659 Posted: 7/28/2025 11:03:23 AM
3 users liked this post
Вячеслав Мезенцев 7/28/2025 11:21:35 AM, francesco rapuano 7/28/2025 1:20:25 PM, sergio 7/28/2025 7:43:31 PM
-
New Posts
-
No New Posts