[25.May.2022] Top 3 conversion problems
When converting an old Mathcad file (.mcd or .xmcd) you will probably see some conversion annotations. You can find a lot of information on this in the Migration Guide found in the Resources tab in Mathcad Prime:
Many of the annotations can be ignored. Others might have a simple workaround.
However, they all fall into 5 different categories:
- Display Difference
- Unsupported Formatting
- Calculation Difference
- Unsupported Calculation
Often the annotation is self-explanatory like in this case where it explains that the programming operator ‘otherwise’ has been renamed to ‘else’:
If you only get ‘Display Differences’ like this:
You can probably just push the ‘Clear Annotations’ button and recalculate your worksheet and scroll through to see if everything looks ok:
But let’s have a look at three common problems.
1. Subscripts and superscripts in text regions
In Mathcad 15 and earlier you can select characters in a text region and make them subscripted or superscripted:
That feature is not yet available in Mathcad Prime. So we will get un ‘Unsupported Formatting’ annotation on all regions where these occur:
In the Prime worksheet you can see that the formatting is lost:
A simple work-around that will work in most cases is to use the ‘Math in Text’ feature:
Then you can create almost any type of equation:
And then make Math Formatting changes so it looks good:
2. Units in plots
Units are treated in a different way in Mathcad Prime. We now have a unit placeholder so we can specify what unit to use on the axes. So we can no longer use units in the tick marks. If we have a plot that looks like this in Mathcad 15, the converter will not say anything:
When you open the converted file in Prime and recalculate you will see an error saying “Tick marks are unitless. Insert units next to the trace definitions.”:
Following that advice we get the plot we want:
We can see a related problem if we’re using the ‘quick plot’ feature. That’s when we use an undefined variable when plotting and not specifying a range ourselves. Things like this work in Mathcad 15:
But will not work in Prime even if the converter isn’t complaining. After a recalculation you will see an error. And in this case the error isn’t that helpful:
The workaround here is to manually create the range including units:
Please have a look at page 39 in the Migration Guide for Mathcad Prime 8 for more details.
3. Titles, Labels and Legends in 2D plots
In 2D plots in Mathcad 15 you can add a title, axis labels and a legend list. Those features are not currently available in Prime. Here you can see a plot in Mathcad 15 converted to Prime:
In cases like this you might want to consider recreating the plot with the Chart Component found on the Mathcad tab. Then you will have access to the mentioned features and much more:
Should you run into conversion issues we can help. For complicated tasks, we offer consultancy.
If you are a Mathcad user who has many files made in Mathcad 15 or older, and you don’t want to spend your valuable time on conversion, you can outsource this cumbersome task to Alfasoft.