Community Tip - You can change your system assigned username to something more personal in your community settings. X
Dear all,
I would like to plot a histogram with text on the x axis.
Moreover I would like to perform a calculation without repeating the formula many times.
The two points are highlighted in the attached mathcad file.
Thank-you very much for your support.
Best Regards.
Enrico
Solved! Go to Solution.
Its a bit elaborate but it can be done without text boxes or the like
Here's my best try:
You probably can avoid the magenta line at the bottom if you arrange the plots so that the black bars are plotted last.
See if the attached does what you had in mind
Dear Werner,
Thank-you very much for your replay.
How can I plot the results in a histogram?
Best Regards.
Enrico
eeh... Use the histogram function in combination with a plot...?
Success!
Luc
The problem is that I would like to have text in the x axis as I showed in the picture in the mathcad file
I don't believe there's a way to 'put text in a plot axis' but you can overlay a plot region with a text region.
I think that should be easy for you, but if you need me to show you, save your file as Mathcad 11 (neglect the error messages) and attach it. I don't have access to Mathcad 15.
Success!
Luc
Attached you find the file in he older version.
The idea is simply to plot string variable on the x axis (please see the second attached file)
As I said, you cannot have text along an axis. Mathcad will only plot real (not even imaginary) scalar values.
But you can overlay text (or variable name) regions with a plot region.
See attached.
Success!
Luc
Its a bit elaborate but it can be done without text boxes or the like
Here's my best try:
You probably can avoid the magenta line at the bottom if you arrange the plots so that the black bars are plotted last.
Than-you very much for sharing your solution!