cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Column Trace in Prime

Anousheh
10-Marble

Column Trace in Prime

Hello,

Please help to change the trace type to that of a column. See attached file.

Thanks,

Anousheh

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Anousheh)

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:

Werner_E_0-1587151954576.png

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):

Werner_E_0-1587152390663.png

Werner_E_1-1587152410137.png

 

 

 

 

View solution in original post

6 REPLIES 6
Werner_E
25-Diamond I
(To:Anousheh)

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:

Werner_E_0-1587091494999.png

Now you can change it to a different type via the menu

Werner_E_1-1587091666420.png

 

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).

Anousheh_1-1587093396048.png

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?

FredKohlhepp_0-1587143024697.png

 

Thank you Fred.

Nice workaround.

Werner_E
25-Diamond I
(To:Anousheh)

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:

Werner_E_0-1587151954576.png

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):

Werner_E_0-1587152390663.png

Werner_E_1-1587152410137.png

 

 

 

 

Thank you Werner

Announcements

Top Tags