Problems with x-y plots

Problems with x-y plots - 消息

#1 已发布: 2024/10/30 01:05:28
Mick

Mick

2个赞,共18个帖子。

组: User

I have just tried to use Smath, after a break of two or three months. I can't get the x-y Plots to work. When I try to adjust the scales, etc, from the defaults, I get the message "object does not match target type" in most/all sections.

I checked with an older file that used x-y Plots - the plots displayed properly, but I still got the same messages when I tried to access the scales, etc.

When I launched Smath yesterday I was offered a new, updated version - I accepted - was this a mistake, has something changed?

Any help would be gratefully accepted.

TIA

Jon
#2 已发布: 2024/10/30 01:45:05
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Show us what it looks like.

You are the first of 1500 users to have this problem.

xyplot-0.3.9043.20036-20241004.JPG
Russia ☭ forever, Viacheslav N. Mezentsev
#3 已发布: 2024/10/30 20:08:33
Mick

Mick

2个赞,共18个帖子。

组: User

PlotProblem.png

Hi

Here's a screenshot.

Jon
#4 已发布: 2024/10/30 20:26:32
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Very interesting. What operating system, SMath Studio version and X-Y Plot version?

Yes, there has been some updating, but no such side effects have been observed yet.
Russia ☭ forever, Viacheslav N. Mezentsev
#5 已发布: 2024/10/30 22:20:38
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

It seems, this error could not be replicated on linux.

Regards

2024-10-30_18-19.png
#6 已发布: 2024/10/30 22:41:01
Mick

Mick

2个赞,共18个帖子。

组: User

Thanks for your interest.

Windows 11 Home

未找到文件。未找到文件。

Is this what you mean?

Jon
#7 已发布: 2024/10/30 23:31:50
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

Is this what you mean?


Yes.

The problem may be related to the fact that you don't have the required version of .Net Framework installed. Usually the current version is sufficient, but the component itself is developed using an older version (.Net Framework 2.0). Try checking or installing version .Net Framework 2.0 or 3.5 for Windows 11.
It's strange that the component worked on the same machine before. Others have no problem because they are most likely running older versions of operating systems or have the required versions of the .Net Framework.
Russia ☭ forever, Viacheslav N. Mezentsev
#8 已发布: 2024/10/30 23:58:07
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

No problems here as well.

XYplot.sm (9.88 KiB)已下载 1846 次。

If you install the development tools plugin, in the "Insert" > "Development tools" > "System informations" dialog you can retrieve all the relevant framework and system information.

显示剧透

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#9 已发布: 2024/10/31 01:16:03
Mick

Mick

2个赞,共18个帖子。

组: User

Thanks for your help, guys. This is starting to reach the bounds of my competence!

These are the details of my system.

SMath System Details.txt (1.7 KiB)已下载 1551 次。

The XYplot.sm file works and displays fine, but I still get the "object does not match target type" message if I try to format the plot.

I'm a high-level, maths type of user, not a low-level/OS nerd, so I've never messed around with .Net Framework before (or even heard of it!). I'll have to find out what it's all about. Hopefully changing to an older version won't screw up anything else I'm using. Or, at least I can get back to where I am now.

Jon
#10 已发布: 2024/10/31 01:24:18
Mick

Mick

2个赞,共18个帖子。

组: User

I seem to have version 4.8.9032.0 of .Net

Jon
#11 已发布: 2024/10/31 01:26:28
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

You're welcome. As for sure you miss any framework before 4.0

It should be enough to install the framework 3.5, you can found detailed instructions here.

The frameworks before/after 4.0 are different and run as parallel entities.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 已发布: 2024/10/31 02:12:36
Mick

Mick

2个赞,共18个帖子。

组: User

I've just downloaded .Net 3.5, using the instructions at
https://www.howtogeek.com/880208/how-to-enable-net-framework-2-0-and-3-5-in-windows-11/
which I found before I saw Davide's reply. They appear to be doing much the same thing.

Unfortunately, there is no change - I still cannot format the XY plot.

Any other suggestions, anyone?

Jon
#13 已发布: 2024/10/31 12:44:33
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

Wrote

Any other suggestions, anyone?



You can install an older version from the list here:

https://smath.com/en-US/view/XYPlotRegion/history

1. Remove the current version of the plugin from the program.
2. Restart the program.
3. Drag the archive with the plugin to the program window with the mouse. This is an alternative installation method.
Russia ☭ forever, Viacheslav N. Mezentsev
#14 已发布: 2024/11/1 23:39:51
Mick

Mick

2个赞,共18个帖子。

组: User

Thanks for this Uni.

Things have got a bit busy here lately - I'll try these in the next few days and get back to you.

Jon
#15 已发布: 2024/11/9 22:55:24
Mick

Mick

2个赞,共18个帖子。

组: User

I seem to have solved my problem. While looking to delete and try an older version of XYPlot, it occurred to me to uninstall & reinstall Smath. So I did, and it worked! Everything now seems to work as expected - so far. Maybe I should have thought of that before!

Thanks for your help, all.

Jon
1位用户喜欢此帖子
Davide Carpi 2024/11/10 21:32:00
  • 有新帖
  • 无新帖