Daniel Skoog

Daniel Skoog

1741 Reputation

22 Badges

11 years, 272 days

MaplePrimes Activity

These are replies submitted by Daniel Skoog

@Christopher2222 : I'd be curious about what you'd like to do once you read in a mp3 file. Is there any additional functionality that you'd like to see added to AudioTools, SignalProcessing, etc. once MP3's were supported?

@itsme : Sorry for the inconvenience of needing to wait for 2018.2. Once the issues are resolved this should hopefully be more simple than before. Any previous hotkeys, menu items, or toolbar buttons will all do the same thing - insert a section. Where it inserts a section will be similar to inserting anything else in Maple - if you're in a section, then it's a subsection. If you're not in a section, then it's a new parent section. Tables and other containers in Maple never had this formal distinction so I think it's a step in the right direction to simply have "Insert Section".

One other workaround that that Copy and Paste of a previous empty section into another section should work as well. 


@itsme : There is a know issue similar to what you describe that will be addressed in 2018.2 that effects only worksheet mode. Are you working in worksheet mode or document mode?

If you are in worksheet, then you may have to use the workaround you mention for now, but it should work fine in a few weeks when 2018.2 is released. 

@tomleslie A scatterplot would be what you're looking for if you wanted to plot the 2 columns as X,Y points. Statistics:-PointPlot will treat all columns of the dataframe as independent data sets and plot them accordingly (although you could use the 'xcoords' option to manually specify one of the columns to be the x- or y-values.

This would work:

IrisData := Import("datasets/iris.csv", base = datadir);
Statistics:-ScatterPlot(IrisData[[`Sepal Length`,`Sepal Width`]]);


In theory, dataplot should produce a similar plot using the option "values", however I'm getting an error there, so I'll investigate if there's potentially a bug there.

@Josci95 : We'd be happy to further investigate your issues if you'd like. You can either post a copy of your file here (as @acer suggests), or you can email us at support (at) maplesoft.com and we can work offline to investigate what's going on.

@Josci95 : Without seeing your example, I can't give an exact solution, but there should be no issue with using column names in dataplot (or any other Statistics visualization). Here's an example:

IrisData := Import("datasets/iris.csv", base = datadir);
dataplot(IrisData[[`Sepal Length`,`Sepal Width`]]);

dataplot(IrisData[[`Sepal Length`,`Petal Width`]],box);

Another note to clarify the comments above: DataFrames assume that each column is an indepedent data set - that's why dataplot generates a plot of the two columns by default. Dataplot for matrices don't follow the same convention.

@Josci95 Are you using Maple 2018?

@tomleslie : You're right. I must have missed this. Maple 2018 did add the ability to use DataFrames and DataSeries in dataplot. Thanks for pointing this out.

If you have a copy of Maple that's older than Maple 2018, then the dataplot command doesn't support DataFrames. Since the dataplot command simply calls many of the visualizations in the Statistics package, which do support DataFrames, I would recommend that you use those as a workaround if you have an older version of Maple.

@Jalale As mentioned in my last reply, there's no easy way to get an embedded table and display it in the worksheet. In the attached, I have added another MathContainer component to hold the value for r-squared. If you'd like to show more details on the results from the Fit command, you can add more components in a similar way and set the properties for those components to be the output from the Fit command.CollectingPoints_2.zip

@Jalale : If you are running the worksheet in the Maple standard interface (and not on the cloud), then you can add the following at the bottom of the page:



Note though that you will need to re-execute the command whenever you change the data structure.


If you are running this in the cloud or would like to have this table update whenever you add points, then you'll need to add more embedded components to the application and send the output from the Statistics:-Fit command to those components; this is similar to how the fitted expression is shown in a math container below the buttons.

Thanks @SGJanssens for starting this post - I've had the Linguist page starred for a while but haven't gotten around to figuring out what needs to be done in order to actually get the Maple tag into Github.

I definitely agree that Maple should be there, especially given that there are so many obscure languages in the list, however, I also seem to recall reading that Linguist won't add a language unless it is in a certain number of repositories first. I'm not sure if they hold to that though.


I've been trying to keep track of any Maple work that I've found. So far, I've spotted these (this is certainly not an exhaustive list):

Hopf algebra of symmetric functions : https://github.com/bfauser/Maple-SchurFkt 

schubert (Intersection Theory) : https://github.com/jmokland/schubert

ParametricMatrixTools : https://github.com/steventhornton/ParametricMatrixTools

polynomio (advanced computations on polynomials) : https://github.com/filiatra/polyonimo

Kronecker coefficients : https://github.com/catch22/kronecker

Delay Tools : https://github.com/sgjanssens/DelayTools (You certainly know about this one already!)

Ranlip - Multivariate nonuniform random variate generator with arbitrary Lipschitz density : https://github.com/gbeliako/RanLip (available to be installed from the MapleCloud)

GR tensor III : https://github.com/grtensor/grtensor (available to be installed from the MapleCloud(available to be installed from the MapleCloud)

MapleV - An Emacs package for Maple developers : https://github.com/JoeRiel/maplev

OEIS and ClusterAnalysis (My contributions to the list)


Regarding syntax highlighting: I'll mention that the work that I've got in Github is only for an older version of Sublime, V2 (to which I've now added a license). @John May has another Sublime definition repository for Sublime V3 here: https://github.com/johnpmay/SublimeTextMaple I've also recently stumbled upon some work on sytnax highlighting files for Visual Studio: https://github.com/yu961549745/VSCodeHighlightForMaple

I'm not sure if any of these are representative of the Maple language as a whole (I'm not quite sure exactly what the standard should be here). I'd be inclined to dig up the Vim syntax definitions and use those.

I'm not sure if the above helps or not, but I think it's a great initiative.

Have you checked your "Private" MapleCloud folder? Most applications are accidentally submitted to the moderated "Public" or "MathApps" groups rather than in private folders. These files are automatically moved to the private group.

If these files are not in your private folders and you think they should be, please contact Technical Support at support@maplesoft.com and they will further investigate this for you.

I have submitted an internal change report. Thanks.

I have submitted this in our internal bug system. Thanks for the report and for the suggestion for a workaround.

@nm : Unless your current working directory is the path shown in Physics:-Version, try using the full path to the installed file (you may need to adjust this accordingly):

PackageTools:-GetProperty("C:/Users/me/maple/toolbox/2018/Physics Updates/lib/Physics Updates.maple", version);
1 2 3 4 5 6 7 Last Page 2 of 11