Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,542 Was thanked: 1306 time(s) in 765 post(s)
|
Quote:I just downloaded 0.99 and it didn't work out. Tell me more about what's wrong. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 16/03/2018(UTC) Posts: 2
|
Hi Uni, I downloaded your zip file, then copied the two dll files into the plugin folder of smath. When I then start smath I get an error message saying "The remote server returned an error: (407) Proxy Authentication Required". Sorry I am a newbee. I am not familiar with the procedure for installing plugins. I had used mathcad in the past, and I started working a bit with smath about a year ago. I was looking for a WYSIWYG option, next to python. I do found smath rather convenient but was not so happy with the plotting options so I was curious to see how it would turn out with that plugin. Thanks for your help.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,542 Was thanked: 1306 time(s) in 765 post(s)
|
You need to use the Extension Manager (from SMath Studio main menu) to install plugins. |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,689 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Before using the Extensions Manager please remove any plugin you have manually installed. Originally Posted by: uni You need to use the Extension Manager (from SMath Studio main menu) to install plugins. This is under Tools > Plugins... > Online gallery Edited by user 19 March 2018 16:35:54(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 |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Going to my heat transfer sheet ... I was plotting the curves and started filling in the table information. The title stuck, but the X and Y labels did not. I have tried several times, including creating a new graph, to fix these labels and the plugin freezes SMath. I need to enter task manager to end the program. Essentially, the "pop-up" associated with this plugin is not showing up. XY-Plot Crash.sm (116kb) downloaded 54 time(s).PS, I created a new sheet and inserted a zed graph, pop up came up. I created another new sheet and inserted a blank X-Y graph, it crashed. Edited by user 28 March 2018 18:00:53(UTC)
| Reason: Added PS
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: ElSid ... it crashed. Quite OK here. Are you doing something wrong or bug wrt your Smath version ? ?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: Jean Giraud Are you doing something wrong or bug wrt your Smath version? My sheet has the app version. I'm on 0.99.6654. Looks like that may be the problem
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: ElSid My sheet has the app version. I'm on 0.99.6654.Looks like that may be the problem Conclusively, Maxima X_Y is affected by the Smath version.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,542 Was thanked: 1306 time(s) in 765 post(s)
|
I can't reproduce the issue. Can you make a screenshot or save crash dump? |
Russia ☭ forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Issue was with SMath 0.99.6654. Andrey updated Smath to 0.99.6661 yesterday and the plugin works
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: ElSid Found the issue(s). See revamped file. Still having issues in that X-Y plot Labels for the legend *zap* Quick Sound Loss.smz (143kb) downloaded 62 time(s).Edit: Two bugs - X-Y Plot. If functions crash, *Zap* to the legend titles. All other titles OK. Legend is empty due to laziness after last 5 crashes
- solve(4) did not like trying to cancel units in the denominator of the final function (#dist). As I was adding units to x:0-100 FT and dividing the units meters in the function, the function crashed in the solve block (Just the function, with all values plugged in except for x = vector, so it's a solve(4) issue).
This is one of those sheets where UNITS are huge! The equations are all based off of SI/metric references. Major issue There is additional documentation and function definition updates. Sanity check the graph x scale (adjusted for feet since I'm in the US). Should be good now
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
Hi Uni, Is XY plot still being actively developed? I was hoping you can address the image quality when printed to PDF. I wonder if this is because in onpaint() you convert all the draw calls to bitmap which is further stored displayed and printed. In image region, for a windows native vector EMF file, i draw the EMF directly within onpaint() which makes sure that image looks sharp on both the screen (94 dpi) and printer (300 DPI) Regards, AM
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Alex M. I was hoping you can address the image quality when printed to PDF. PDF quality depends only upon the PDF creator. For free, CutePDF is acceptable. No idea how it renders hard print because I don't have printer. TESLA.pdf (60kb) downloaded 62 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: Alex M. I was hoping you can address the image quality when printed to PDF. PDF quality depends only upon the PDF creator. For free, CutePDF is acceptable. No idea how it renders hard print because I don't have printer. TESLA.pdf (60kb) downloaded 62 time(s). You are not using "X-Y Plot Region" but "2D Plot" in attached PDF; my comment was regarding the "X-Y Plot Region"
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Alex M. You are not using "X-Y Plot Region" but "2D Plot" in attached PDF; my comment was regarding the "X-Y Plot Region" No matter X_Y region or QuickPlot ... totally identical from CutePDF. Doublet.pdf (29kb) downloaded 44 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: Jean Giraud No matter X_Y region or QuickPlot ... totally identical from CutePDF. Image of the CutePDF as rendered by Adobe Reader DC.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 279 Was thanked: 92 time(s) in 58 post(s)
|
Jean, looked at zoomed image below from your pdf. the function text is nice and clear, the plot is pixelated. This is what the issue here. |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
Originally Posted by: Alex M. I wonder if this is because in onpaint() you convert all the draw calls to bitmap which is further stored displayed and printed. It does look that bitmap is being displayed / printed instead of draw calls Code:
public override void OnPaint( PaintEventArgs e ) {
base.OnPaint( e );
if ( this.InEvaluation ) return;
Image image = new Bitmap( e.ClipRectangle.Width, e.ClipRectangle.Height );
Rectangle Rect = new Rectangle( new Point( 0, 0 ), image.Size );
Graphics g = Graphics.FromImage( image );
g.FillRectangle( new SolidBrush( Color.White ), Rect );
cs.ChartArea = Rect;
cs.AddChartStyle( g, ca, xa, ya, y2a, gd, lb, tl );
dc.AddCurves( g, cs, xa, ya, y2a );
lg.AddLegend( g, dc, cs );
e.Graphics.DrawImage( image, e.ClipRectangle );
g.Dispose();
}
Uni, if you have time at some point, could you either supersample bitmap, or draw directly in onPaint() similar to what was done in PieChart: https://smath.info:8443/!/#public/view/head/plugins/PieChartRegion/PieChartCanvas.cs Thank you, Alex M.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 983 time(s) in 811 post(s)
|
Originally Posted by: alyles Jean, look at zoomed image below from your pdf.
the function text is nice and clear, the plot is pixelated. This is what the issue here. PDF creators recognize what is coded [text, glyphes like in equation editors ...]. The graphs are not codable and treated as image raster. When you zoom up the PDF documents, the images are simply pixelated. If you zoom up 400%, each pixel is quadruplated side by side thus the poor looking. If the graph could be interpreted as an RGB image, then the PDF reader would have to process/zoom the image from some type of image subprocessor. That simply does not exist with Adobe Reader. I'm not aware of PDF creator/reader that process images. In short: Smath is of no concern in there. From recollection, my "Nuance PDF creator/reader" would zoom up like an image. Page1 zoom Doublet.sm (110kb) downloaded 37 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,689 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: Alex M. I wonder if this is because in onpaint() you convert all the draw calls to bitmap which is further stored displayed and printed. Yes this is the cause. Try the following (drag&drop the zip in the canvas - just for testing purposes): XYPlotRegion.zip (70kb) downloaded 35 time(s).code committed Edited by user 06 June 2018 20:22:45(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 |
1 user thanked Davide Carpi for this useful post.
|
|
|
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.