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.39 KiB) downloaded 94 time(s).
sys_info.txt (1.39 KiB) downloaded 94 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 95 time(s).

XYPlotRegion.log (574 B) downloaded 95 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.78 KiB) downloaded 829 time(s).
XYPlot. Linear polar.pdf (134.78 KiB) downloaded 650 time(s).

XYPlot. Linear polar.sm (56.78 KiB) downloaded 829 time(s).
XYPlot. Linear polar.pdf (134.78 KiB) downloaded 650 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.8 KiB) downloaded 116 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
A kind of Spider Web or Radar plot.

XYRadar.sm (21.83 KiB) downloaded 113 time(s).
Best regards.
Alvaro.

XYRadar.sm (21.83 KiB) downloaded 113 time(s).
Best regards.
Alvaro.
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
#660 Posted: 8/3/2025 8:38:44 PM
I seem to have problems with the font size in the plugin. The font sizes in the plot region and on the canvas are inconsistent.
The canvas font is set to 10. While the label font is also set to 10 in the region, the labels appear much smaller.
Edit: Meanwhile I found out the reason for the problem. If I change the hardware setup while SMath is running (e.g. switching from docking station with external monitor to just the notebook with built-in monitor) I get the problem as indicated in the screenshot. Yet, if I restart SMath, the problem is fixed.
I don't know if the plot region is supposed to handle the situation without problems but at least I have a workaround.
problem nearly fixed (now the labels are slightly too big.)

original problem

System information:
SMath Studio: SMath Studio 1.3.0.9126, 64-bit
OS: Microsoft Windows NT 10.0.19045.0; Windows 10 Pro, 64-bit
Screen: 1280x720 px, 96x96 dpi, 96 GP.CDPI
Localization: language=GER; dec.symbol=; arg.separator=; OS dec.symbol=; OS arg.separator=; OS d.g.separator=; units=ger;
Framework: CLR 4.0.30319.42000
installed versions:
v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4
Client 4.8.09037
Full 4.8.09037
v4.0
Client 4.0.0.0
Plugins:
- [AppDir] AreaRegion - 1.73.9126.0
- [AppDir] HTMLFileType - 1.73.9126.0
- [AppDir] ImageFileType - 1.73.9126.0
- [AppDir] MathRegion - 1.73.9126.0
- [AppDir] PictureRegion - 1.73.9126.0
- [AppDir] PlotRegion - 1.73.9126.0
- [AppDir] SMathFileType - 1.73.9126.0
- [AppDir] SpecialFunctions - 1.73.9126.0
- [AppDir] SpecialFunctions - 1.73.9126.0
- [AppDir] StandardToolboxButtons - 1.73.9126.0
- [AppDir] TextRegion - 1.73.9126.0
- [UserDir] 3D Plot Region (Chart3DLib) - 0.1.7806.5325
- [UserDir] 3D Plot Region (Chart3DLib) - 0.1.7806.5325
- [UserDir] ALGLIB® - numerical analysis library - 1.0.8025.20709
- [UserDir] Cephes Mathematical Library - 1.0.8034.38340
- [UserDir] CheckBoxList Region - 1.0.7806.5399
- [UserDir] CheckBoxRegion - 1.0.9141.26639
- [UserDir] Combobox Region - 0.1.7806.5423
- [UserDir] ComboBoxList Region - 1.0.8763.41296
- [UserDir] Conditionally Formatted Label - 1.0.8138.35464
- [UserDir] CoolProp Wrapper - 6.4.8214.13502
- [UserDir] Custom Glyphs - 1.1.7783.42782
- [UserDir] CustomFunctions - 1.2.9201.29023
- [UserDir] Data Exchange - 1.1.7813.24580
- [UserDir] Development Tools - 1.1.7490.41956
- [UserDir] DISLIN 11.5 - 0.2.8187.36790
- [UserDir] DotNumerics - 1.1.8269.16536
- [UserDir] DSP Library - 2.0.8501.16571
- [UserDir] EXCEL (2003+) I/O with recalculation and PNG export - 2.1.8225.33551
- [UserDir] Excel Files Plugin - 1.3.7832.3161
- [UserDir] Excel Input-Output Functions - 1.1.8225.33532
- [UserDir] FEBeam - 1.0.8380.20839
- [UserDir] FFTPACK - 1.1.7563.3712
- [UserDir] FIR Filter Design - 1.0.8187.41094
- [UserDir] GPCWrapper - 1.0.9161.7296
- [UserDir] Hyperlink Region - 1.0.7806.5225
- [UserDir] Image Region - 2.100.9141.40696
- [UserDir] include - 0.2.8085.37792
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Mathcad Custom Functions - 1.1.8035.3236
- [UserDir] Mathcad File Access Functions - 1.0.8011.30679
- [UserDir] Mathcad Toolbox - 0.5.9130.35983
- [UserDir] Mathcad Toolbox - 0.5.9130.35983
- [UserDir] Matlab Runtime Library - 1.1.8044.8489
- [UserDir] MatrixExtensions - 1.0.8302.28555
- [UserDir] MaximaPlugin - 1.98.8797.27896
- [UserDir] Memo Region - 0.2.8320.6766
- [UserDir] Modeller Region - 1.0.8763.37680
- [UserDir] Nonlinear Solvers - 1.1.7097.23301
- [UserDir] Numeric Up-Down Region - 1.0.8763.41162
- [UserDir] Octave C++ Math Library - 1.0.7871.39565
- [UserDir] PDF Files Plugin - 1.0.7097.27694
- [UserDir] Pie Chart Region - 1.0.8770.25505
- [UserDir] RadioButtonList Region - 1.0.8763.40835
- [UserDir] Run - 0.2.7786.3193
- [UserDir] SetOperations - 0.4.8992.40087
- [UserDir] Slider Region - 1.0.9041.20211
- [UserDir] SnapshotRegion - 1.1.9315.25145
- [UserDir] Statistical Tools - 1.0.9201.22240
- [UserDir] Table Region - 0.3.8770.23606
- [UserDir] Text Region Utilities - 0.4.7802.40621
- [UserDir] ViewerFileType - 1.1.9099.39268
- [UserDir] Writer Region - 0.23.8034.36139
- [UserDir] XlsxImportExport - 1.3.7845.24796
- [UserDir] XMCDFileType.dll - 1.13.8339.3084
- [UserDir] X-Y Plot Region (JXCharts) - 0.3.9338.42055
- [UserDir] X-Y Plot Region (JXCharts) - 0.3.9338.42055
- [UserDir] ZedGraph Region (ZedGraph) - 0.1.7806.5613
The canvas font is set to 10. While the label font is also set to 10 in the region, the labels appear much smaller.
Edit: Meanwhile I found out the reason for the problem. If I change the hardware setup while SMath is running (e.g. switching from docking station with external monitor to just the notebook with built-in monitor) I get the problem as indicated in the screenshot. Yet, if I restart SMath, the problem is fixed.
I don't know if the plot region is supposed to handle the situation without problems but at least I have a workaround.
problem nearly fixed (now the labels are slightly too big.)

original problem

System information:
SMath Studio: SMath Studio 1.3.0.9126, 64-bit
OS: Microsoft Windows NT 10.0.19045.0; Windows 10 Pro, 64-bit
Screen: 1280x720 px, 96x96 dpi, 96 GP.CDPI
Localization: language=GER; dec.symbol=
Framework: CLR 4.0.30319.42000
installed versions:
v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4
Client 4.8.09037
Full 4.8.09037
v4.0
Client 4.0.0.0
Plugins:
- [AppDir] AreaRegion - 1.73.9126.0
- [AppDir] HTMLFileType - 1.73.9126.0
- [AppDir] ImageFileType - 1.73.9126.0
- [AppDir] MathRegion - 1.73.9126.0
- [AppDir] PictureRegion - 1.73.9126.0
- [AppDir] PlotRegion - 1.73.9126.0
- [AppDir] SMathFileType - 1.73.9126.0
- [AppDir] SpecialFunctions - 1.73.9126.0
- [AppDir] SpecialFunctions - 1.73.9126.0
- [AppDir] StandardToolboxButtons - 1.73.9126.0
- [AppDir] TextRegion - 1.73.9126.0
- [UserDir] 3D Plot Region (Chart3DLib) - 0.1.7806.5325
- [UserDir] 3D Plot Region (Chart3DLib) - 0.1.7806.5325
- [UserDir] ALGLIB® - numerical analysis library - 1.0.8025.20709
- [UserDir] Cephes Mathematical Library - 1.0.8034.38340
- [UserDir] CheckBoxList Region - 1.0.7806.5399
- [UserDir] CheckBoxRegion - 1.0.9141.26639
- [UserDir] Combobox Region - 0.1.7806.5423
- [UserDir] ComboBoxList Region - 1.0.8763.41296
- [UserDir] Conditionally Formatted Label - 1.0.8138.35464
- [UserDir] CoolProp Wrapper - 6.4.8214.13502
- [UserDir] Custom Glyphs - 1.1.7783.42782
- [UserDir] CustomFunctions - 1.2.9201.29023
- [UserDir] Data Exchange - 1.1.7813.24580
- [UserDir] Development Tools - 1.1.7490.41956
- [UserDir] DISLIN 11.5 - 0.2.8187.36790
- [UserDir] DotNumerics - 1.1.8269.16536
- [UserDir] DSP Library - 2.0.8501.16571
- [UserDir] EXCEL (2003+) I/O with recalculation and PNG export - 2.1.8225.33551
- [UserDir] Excel Files Plugin - 1.3.7832.3161
- [UserDir] Excel Input-Output Functions - 1.1.8225.33532
- [UserDir] FEBeam - 1.0.8380.20839
- [UserDir] FFTPACK - 1.1.7563.3712
- [UserDir] FIR Filter Design - 1.0.8187.41094
- [UserDir] GPCWrapper - 1.0.9161.7296
- [UserDir] Hyperlink Region - 1.0.7806.5225
- [UserDir] Image Region - 2.100.9141.40696
- [UserDir] include - 0.2.8085.37792
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Maple Tools - 1.1.8665.21209
- [UserDir] Mathcad Custom Functions - 1.1.8035.3236
- [UserDir] Mathcad File Access Functions - 1.0.8011.30679
- [UserDir] Mathcad Toolbox - 0.5.9130.35983
- [UserDir] Mathcad Toolbox - 0.5.9130.35983
- [UserDir] Matlab Runtime Library - 1.1.8044.8489
- [UserDir] MatrixExtensions - 1.0.8302.28555
- [UserDir] MaximaPlugin - 1.98.8797.27896
- [UserDir] Memo Region - 0.2.8320.6766
- [UserDir] Modeller Region - 1.0.8763.37680
- [UserDir] Nonlinear Solvers - 1.1.7097.23301
- [UserDir] Numeric Up-Down Region - 1.0.8763.41162
- [UserDir] Octave C++ Math Library - 1.0.7871.39565
- [UserDir] PDF Files Plugin - 1.0.7097.27694
- [UserDir] Pie Chart Region - 1.0.8770.25505
- [UserDir] RadioButtonList Region - 1.0.8763.40835
- [UserDir] Run - 0.2.7786.3193
- [UserDir] SetOperations - 0.4.8992.40087
- [UserDir] Slider Region - 1.0.9041.20211
- [UserDir] SnapshotRegion - 1.1.9315.25145
- [UserDir] Statistical Tools - 1.0.9201.22240
- [UserDir] Table Region - 0.3.8770.23606
- [UserDir] Text Region Utilities - 0.4.7802.40621
- [UserDir] ViewerFileType - 1.1.9099.39268
- [UserDir] Writer Region - 0.23.8034.36139
- [UserDir] XlsxImportExport - 1.3.7845.24796
- [UserDir] XMCDFileType.dll - 1.13.8339.3084
- [UserDir] X-Y Plot Region (JXCharts) - 0.3.9338.42055
- [UserDir] X-Y Plot Region (JXCharts) - 0.3.9338.42055
- [UserDir] ZedGraph Region (ZedGraph) - 0.1.7806.5613
Edited 8/3/2025 9:30:48 PM
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
- New Posts
- No New Posts