Posts

Showing posts from April 17, 2019

Smoothing implicit plots with Maxima / wxMaxima

Image
1 $begingroup$ I'm using Maxima for university mathematics and would like to improve the appearance of the graphs that it generates. Previously, when I'd used plot2d or wxplot2d , I'd see pretty, smooth plots of lines and parabolas. However, now that I'm graphing circles with implicit_plot , they're not nearly as smooth or pretty. It looks like a line that hasn't had any antialiasing applied, like so: wximplicit_plot( (x-1)^2 + y^2 = 3, [x, -6, 6], [y, -6, 6] ); Are there any flags I can pass to the {wx,}implicit_plot functions to antialias / smooth the lines drawn? I'm terribly spoilt by what I've seen PGF / TikZ can do and would like to make the same pretty graphics with (wx)Maxima. graphing-functions maxima-software

SQL - Select the results for MAX(date) for multiple columns in single line

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 1 I would like to get the last order date from a table split into sales as purchase order Please see below example EXAMPLE PRODUCT ORDER_DATE ORDER_PRICE ORDER_TYPE 0000016920 2018-05-11 135.440 Purchase Order 0000016920 2018-05-11 135.440 Sales Order 0000022670 2018-08-01 0.010 Sales Order 0000024280 2018-09-25 661.9757 Purchase Order 0000024280 2018-09-25 661.9757 Sales Order 0000025560 2018-03-14 265.5953 Sales Order 0000025560 2018-01-16 224.6733 Sales Order 0000025560 2018-03-14 265.5953 Purchase Order 0000025560 2018-03-01 224.6733 Sales Order 0000025560