Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello,
Please help to change the trace type to that of a column. See attached file.
Thanks,
Anousheh
Solved! Go to Solution.
So you really want to see just one single column?
Keep in mind that Prime isn't Mathcad 15 and Prime is lacking a lot of features and convenience compared to real Mathcad. Not being able to use a column plot for just one single value is one of the lacking "features" but compared to the many others I would call it a minor one.
You may use a solution as provided by Fred who created the column using two fat vertical line segments (actually his line segments won't have both the same heigth). You can write a more complex program to create columns (you may add arguments for width, fill or no fill, etc.).
Or you may simply resort to the stem plot with a large line width:
As Fred already asked - How badly do you need that single column?
BTW, more than one value is no problem, not even for Prime. if x is a vector of multiple values, Prime will happily draw the columns. It simply refuses to draw a single one (for whatever reason):
You get what you demand. You had set x:=3 and therefore you get just one stem at x=3.
You may define a range if you like:
Now you can change it to a different type via the menu
Hello Werner,
Thanks for the reply. Please see this plot created in MathCad 15.
There, I had a plot with 3 data point to compare. No problem to represent them by bars (columns).
In Prime, I cannot do this using the "plot" tab. It can however be done using "chart component".
Any suggestions?
Well, you're right, a single point column trace won't work. (A stem trace does.)
How badly do you need a column trace?
Thank you Fred.
Nice workaround.
So you really want to see just one single column?
Keep in mind that Prime isn't Mathcad 15 and Prime is lacking a lot of features and convenience compared to real Mathcad. Not being able to use a column plot for just one single value is one of the lacking "features" but compared to the many others I would call it a minor one.
You may use a solution as provided by Fred who created the column using two fat vertical line segments (actually his line segments won't have both the same heigth). You can write a more complex program to create columns (you may add arguments for width, fill or no fill, etc.).
Or you may simply resort to the stem plot with a large line width:
As Fred already asked - How badly do you need that single column?
BTW, more than one value is no problem, not even for Prime. if x is a vector of multiple values, Prime will happily draw the columns. It simply refuses to draw a single one (for whatever reason):
Thank you Werner