histogram with text in the x axis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
histogram with text in the x axis
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.
- Labels:
-
Mechanical_Engineering
- Tags:
- histogram
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
See if the attached does what you had in mind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Dear Werner,
Thank-you very much for your replay.
How can I plot the results in a histogram?
Best Regards.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
eeh... Use the histogram function in combination with a plot...?
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The problem is that I would like to have text in the x axis as I showed in the picture in the mathcad file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Than-you very much for sharing your solution!
