Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 133 time(s) in 114 post(s)
|
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: kilele Yes, I plan to do a little interactivity. If you find something similar for 3D, then let me know in the topic 3DPlot plugin. There you can rotate the graph. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Uni, Linear, Log axis selection Other kinds of plots, in addition to line Smoothing of graph Mathematical operations Please see the SCIDAVIS http://scidavis.sourceforge.net/Thank you, Basile
|
2 users thanked Basile for this useful post.
|
on 03/05/2013(UTC), on 04/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: Basile Uni, Linear, Log axis selection Other kinds of plots, in addition to line Smoothing of graph Mathematical operations Please see the SCIDAVIS http://scidavis.sourceforge.net/Thank you, Basile I remember, remember, don't worry |
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)
|
Hello uni, I wonder if you might include some kind of shading area between two curves for your XY plot plugin, or between the curve and the x asix, some kind of polygon feature. This could be quite useful in shading areas of density functions in statistical examples, tests and teaching in addition to using SMathViewer. Just curious Regards, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 133 time(s) in 114 post(s)
|
|
1 user thanked kilele for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 133 time(s) in 114 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 133 time(s) in 114 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 04/01/2012(UTC) Posts: 3 Location: Buenos Aires Was thanked: 1 time(s) in 1 post(s)
|
Uni, your XYPlot plugin is an amazing job! Really is an extraordinary solution for wonderful graphics!
|
1 user thanked RASG for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,046 Was thanked: 1176 time(s) in 752 post(s)
|
Hi, I tried some line styles in xy-plots, here the impressions: The line patterns (solid, dash...) are hardly distinguishable for line thickness 1. With increased thickness their appearance seems to depend on curvature or slope If there is an option in the plot library to set line ends to round, I would recommend to use it. Currently we have chains of rectangles, that show gaps at slope changes when set to higher thickness values. I would recommend to provide defaults for - line colors (perhaps matching the internal smath 2D plot region) - legend entries (text representation of the plotted expressions (list elements) By the way, I still do not manage to control the limits using sheet variables :-( Martin File Attachment(s): mkraska attached the following image(s): |
|
3 users thanked mkraska for this useful post.
|
on 10/05/2013(UTC), on 11/05/2013(UTC), on 11/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: RASG Uni, your XYPlot plugin is an amazing job! Really is an extraordinary solution for wonderful graphics! Don't forget Jack Xu, 80% of the code is taken from his book. Originally Posted by: mkraska Hi,
I tried some line styles in xy-plots, here the impressions:
The line patterns (solid, dash...) are hardly distinguishable for line thickness 1. With increased thickness their appearance seems to depend on curvature or slope
If there is an option in the plot library to set line ends to round, I would recommend to use it. Currently we have chains of rectangles, that show gaps at slope changes when set to higher thickness values.
I would recommend to provide defaults for - line colors (perhaps matching the internal smath 2D plot region) - legend entries (text representation of the plotted expressions (list elements)
Ok, I'll see what I can implement. Originally Posted by: mkraska By the way, I still do not manage to control the limits using sheet variables :-(
I forgot about the regional settings. Apparently it works with dot as decimal separator. But I'm not sure this is a good way to control the settings of the chart. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 11/05/2013(UTC), on 11/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,046 Was thanked: 1176 time(s) in 752 post(s)
|
Originally Posted by: uni Originally Posted by: mkraska By the way, I still do not manage to control the limits using sheet variables :-(
I forgot about the regional settings. Apparently it works with dot as decimal separator. But I'm not sure this is a good way to control the settings of the chart. How about using line matrices as for text in the generic SMath 2D plot region? You could use spec strings like matlab or gnuplot. Ticx/limits could be handed over as vectors, perhaps generated in place using range(). I attach an example how this could look like. Would of course be fine to have the xtics symbolically... mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Update. Small improvements. [x] сhanged the display of the grid, [+] mouse support, [+] number format (not finished), [+] drawing a line sets as a single curve, [+] support for drawing implicit functions (xgrids = ygrids = Points - 1), [+] default colors for the first 6 datasets. Edited by user 12 May 2013 03:12:35(UTC)
| Reason: Not specified |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
3 users thanked uni for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/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)
|
Best, Radovan omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
4 users thanked omorr for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,046 Was thanked: 1176 time(s) in 752 post(s)
|
Originally Posted by: uni Update. Small improvements.
uni, again exceeding expectations, thank you for the update. If these are small improvements, what could normal improvements be... I tried to explore the mouse support. What I can see for now: - zoom in and out with the mouse wheel - shift the axis ranges by dragging with the left mouse + pressing any key except shift and ctrl. Ctrl + dragging an YXPlot with the left mouse crashes SMath. Normally that creates a copy of the region, that you can drag elsewhere. Expressions are not accepted for implicit plots, just functions of 2 variables. Clipping is improved, all lines reach the boundary now. I'd propose not to draw lines where both end points are outside the plotting range (at least not for auto-sampled function plots). In the attached example, the plot of 1/x shows a spurious line connecting the two branches and being quite off the correct position (that could be improved by using more sampling points in the settings dialog, it's not a bug.) EDIT: Now real contourplots can be made... EDIT2: (really) small issue: When clicking left on the diagram area in order to activate it, there is no visual feedback (normally, the resizing markers should appear). They come up only if there is actual action taken (resizing, mouse interaction...) Edited by user 12 May 2013 12:54:58(UTC)
| Reason: Not specified mkraska attached the following image(s): |
|
4 users thanked mkraska for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/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: mkraska Originally Posted by: uni Update. Small improvements.
uni, again exceeding expectations, thank you for the update. If these are small improvements, what could normal improvements be... Originally Posted by: mkraska Ctrl + dragging an YXPlot with the left mouse crashes SMath. Normally that creates a copy of the region, that you can drag elsewhere. I can confirm that crash. After dragging, some blue regions appeared and than crash. I remembered that crash with CTRL+drag hapened with SMath plots as well some time ago. Can not find it on the Forum, but I am quite sure the same CTRL+drag of plots crash existed. Maybe Andrey can help to solve this out. Best, Radovan |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
2 users thanked omorr for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: omorr Originally Posted by: mkraska Originally Posted by: uni Update. Small improvements.
uni, again exceeding expectations, thank you for the update. If these are small improvements, what could normal improvements be... Originally Posted by: mkraska Ctrl + dragging an YXPlot with the left mouse crashes SMath. Normally that creates a copy of the region, that you can drag elsewhere. I can confirm that crash. After dragging, some blue regions appeared and than crash. I remembered that crash with CTRL+drag hapened with SMath plots as well some time ago. Can not find it on the Forum, but I am quite sure the same CTRL+drag of plots crash existed. Maybe Andrey can help to solve this out. Best, Radovan I know about it. Not found a way to fix it yet. |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
3 users thanked uni for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC), on 12/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,046 Was thanked: 1176 time(s) in 752 post(s)
|
Nice function to make a polar grid... File Attachment(s): mkraska attached the following image(s): |
|
2 users thanked mkraska for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,046 Was thanked: 1176 time(s) in 752 post(s)
|
Small formatting issues: - If PlotMethod is set to splines, then the markers disappear (regardless of what is plotted - matrix, function, grid-based contourline (implicit plot)). - The marker density of implicit plots is too high. Perhaps a sort of marker spacing parameter would be sensible. Could just be a number i, such that every i-th point is marked. This could be an global option, which could be overwritten by a by trace option. - EDIT: Non-default setting (spline) of PlotMethod is not preserved upon save/load and upon copy/paste Edited by user 12 May 2013 16:26:29(UTC)
| Reason: Not specified mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,639 Was thanked: 1400 time(s) in 817 post(s)
|
Originally Posted by: mkraska - The marker density of implicit plots is too high. Perhaps a sort of marker spacing parameter would be sensible. Could just be a number i, such that every i-th point is marked. This could be an global option, which could be overwritten by a by trace option.
It's hard to do. Symbol density depends on the density of points. But it depends on the algorithm used and the type of function. I'm using the marching squares algorithm that generates a set of segments on the grid cells. Each segment - two points at the ends of the segment. More cells - more points, and hence more symbols. The segments are drawn independently from each other. Edited by user 12 May 2013 16:39:34(UTC)
| Reason: Not specified uni attached the following image(s): |
Russia ☭ forever (git.io/vOZo0) Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 12/05/2013(UTC), on 12/05/2013(UTC)
|
|
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.