Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
Originally Posted by: mkraska Could global variables be an option?
The user might define or display values of settings like XYPlot.xmin:0 XYPlot.xmax:3'm -> this would give the independent variable a unit XYPlot.ymin:0 XYPlot.ymax:"auto" (auto-scaling) XYPlot.xaxis:"log" or "lin" XYPlot.title:num2str(n) XYPlot.xtics:0,5*'m
etc. This would be quite transparent and readable, but could be hidden in collapsable regions if required. Settings in the context menu might change or override the variable values or restore them to defaults. Units could be automatically added to the default axis label if appropriate. You could, however, leave proper annotation in the user's responsibility.
Sticking to some naming convention (e.g. gnuplot) would facilitate the usage.
I think that the easiest way it's to append a unit tag (always or when needed) below the axes tag; something like [ m ] [ - ] [ Pa ] |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Eхaple using XYPlot plugin: Edited by user 29 April 2013 23:22:08(UTC)
| Reason: Not specified File Attachment(s): Ber7 attached the following image(s):
|
1 user thanked Ber7 for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Guys, do not rush. The new version will have a slightly different format in the sm-file and your works may not be loaded. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Updated. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
4 users thanked uni for this useful post.
|
on 30/04/2013(UTC), on 30/04/2013(UTC), on 30/04/2013(UTC), on 30/04/2013(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello uni, To be honest, when I saw this picture from the plugin update - I almost remained speechless THIS IS AMAZING!!! ancing: A small issue on my 64bit computer when I opened your example file - the first picture, and my playing on the second Best Wishes, Radovan omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Originally Posted by: omorr A small issue on my 64bit computer when I opened your example file - the first picture, and my playing on the second Best Wishes, Radovan When you save a file and open it the error also appears? Show me this line from any of your file or attach it completely: Code:<grid gridcolor="192; 192; 255" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
Edited by user 30 April 2013 11:43:46(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: uni Originally Posted by: omorr A small issue on my 64bit computer when I opened your example file - the first picture, and my playing on the second Best Wishes, Radovan When you save a file and open it the error also appears? I can not open your example file. If I make my own (like the sample I was playing with) it seems Ok. I can save it and open it again Originally Posted by: uni Show me this line from any of your file or attach it completely: Code:<grid gridcolor="192; 192; 255" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
I found only this one in the first example I've made. <grid gridcolor="Brown" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />If you would like me to try anything else in particular, just let me know Regards, Radovan EDIT: Very good news - after a long time there were Language additions (Lang) . I hope that this amazing plugin will have language translations as well Edited by user 30 April 2013 12:02:22(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Originally Posted by: omorr Originally Posted by: uni Originally Posted by: omorr A small issue on my 64bit computer when I opened your example file - the first picture, and my playing on the second Best Wishes, Radovan When you save a file and open it the error also appears? I can not open your example file. If I make my own (like the sample I was playing with) it seems Ok. I can save it and open it again Originally Posted by: uni Show me this line from any of your file or attach it completely: Code:<grid gridcolor="192; 192; 255" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
I found only this one in the first example I've made. <grid gridcolor="Brown" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />If you would like me to try anything else in particular, just let me know Try a different color, and not a system color, something unusual. This error means that the saving format color will be different on different systems, it is bad (for example, I can't open your file). Originally Posted by: omorr EDIT: Very good news - after a long time there were Language additions (Lang) . I hope that this amazing plugin will have language translations as well Unfortunately, I'm afraid not. I don't know how to make a multi-language interface yet. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Here it is, I tried some custom colors. It is working for me quite well. Here is the picture and the file which produces it. Regards, Radovan P.S. About the language interface, maybe Andrey can do something about it. File Attachment(s): omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,713 Location: Italy Was thanked: 1378 time(s) in 902 post(s)
|
Amazing work uni! Originally Posted by: uni This error means that the saving format color will be different on different systems, it is bad (for example, I can't open your file). You can try to implement the GlobalParams colors functions of Andrey (f.e. the GlobalParams.GetColorByName()) Originally Posted by: uni Unfortunately, I'm afraid not. I don't know how to make a multi-language interface yet. If may help currently I use this class Translator.cs; I think It's the best approach to multilanguage for an external plugin. Originally Posted by: omorr I tried some custom colors. It is working for me quite well. Does not work for me... best regards, w3b5urf3r Edited by user 30 April 2013 13:09:55(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Yeah, that's the difference (XY Plot. Example 1.sm): Code:<grid gridcolor="192; 192; 255" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
and proba_colors.sm: Code:<grid gridcolor="255, 128, 128" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
Different system settings. I will correct it. Do not use random colors until I fix it. Quote:If may help currently I use this class Translator.cs; I think It's the best approach to multilanguage for an external plugin. Here is another problem. I can't use this technique for translating expressions. Edited by user 30 April 2013 13:25:04(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
I made small changes. Can you try again (XYPlotRegion_20130430r1). |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: uni I made small changes. Can you try again (XYPlotRegion_20130430r1). Hmm...it seems some other issue appeared now. I think some fonts issue is involved. This is an error when I tried to open your example file. However, I can still use it in my computer. Regards, Radovan omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Ok, it will take time to solve this problem. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Originally Posted by: uni Guys, do not rush. The new version will have a slightly different format in the sm-file and your works may not be loaded. Updated.
|
2 users thanked Ber7 for this useful post.
|
on 30/04/2013(UTC), on 30/04/2013(UTC)
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Originally Posted by: uni Ok, it will take time to solve this problem. Just take your time . We can still make new plots and test it (at least I can). I tried the file from the post above by Ber7 as well with those nice looking plots. The same "font parsing problem" error appeared. Any other experience? Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,036 Was thanked: 1168 time(s) in 747 post(s)
|
Great work, uni! some issues: - tick spacing should start at zero axis value (now starts at min limit) - number format for y axis tick values Double click to access the property page is nice. File Attachment(s): mkraska attached the following image(s): |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Originally Posted by: omorr Originally Posted by: uni Ok, it will take time to solve this problem. Just take your time . We can still make new plots and test it (at least I can). I tried the file from the post above by Ber7 as well with those nice looking plots. The same "font parsing problem" error appeared. Any other experience? Regards, Radovan This is global problem and I need to think about how to resolve it correctly. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Just in case to mention that I opened the file with two plots made by Martin.
Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,620 Was thanked: 1382 time(s) in 806 post(s)
|
Originally Posted by: omorr Just in case to mention that I opened the file with two plots made by Martin.
Regards, Radovan It can be said in other words. It is a problem of globalization, when you need to share files between countries with different regional standards. I should consult with Andrey to find out how to do it right. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
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.