Problems with x-y plots

Problems with x-y plots - Messaggi

#1 Pubblicato: 30/10/2024 01:05:28
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: 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 Pubblicato: 30/10/2024 01:45:05
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 30/10/2024 20:08:33
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: User

PlotProblem.png

Hi

Here's a screenshot.

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 30/10/2024 22:20:38
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

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

Regards

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

Mick

2 apprezzamenti in 18 post.

Gruppo: User

Thanks for your interest.

Windows 11 Home

File non trovato.File non trovato.

Is this what you mean?

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

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 30/10/2024 23:58:07
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: Moderator

No problems here as well.

XYplot.sm (9,88 KiB) scaricato 1831 volta(e).

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.

Mostra spoiler

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

Mick

2 apprezzamenti in 18 post.

Gruppo: 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) scaricato 1532 volta(e).

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 Pubblicato: 31/10/2024 01:24:18
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: User

I seem to have version 4.8.9032.0 of .Net

Jon
#11 Pubblicato: 31/10/2024 01:26:28
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 31/10/2024 02:12:36
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: 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 Pubblicato: 31/10/2024 12:44:33
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: 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 Pubblicato: 01/11/2024 23:39:51
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: 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 Pubblicato: 09/11/2024 22:55:24
Mick

Mick

2 apprezzamenti in 18 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 10/11/2024 21:32:00
  • Nuovi post
  • Nessun nuovo post