axis color disappear when using the white_jet color map
1 view (last 30 days)
Show older comments
Hello everyone and Happy New Year
I am trying to draw a slip distribution graph and want to show the parts with no slip White
I found a Function in File Exchange "colormap jet_white", it is almost what I need except that by using this function my axis disappear!
Is there any way to superpose axis on top ,or any other way to have my color map from White Zero
6 Comments
Answers (3)
Jim
on 7 Jan 2019
Hi Samenah,
The help on jet_white states
"Since the "jet" colormap matrix can vary in size depending on the plot that it will be applied to, this function should be executed after any plot commands."
I wonder if moving the jet_white execution code below all of your plot commands will solve your issue? Please let me know. Thanks.
Samaneh Arzpeima
on 8 Jan 2019
4 Comments
Stephen23
on 9 Jan 2019
"I couldn't know how to debug and find the problem line!"
You have to learn to use the debugging tools. They are indispensible in any programming language. Start here:
You will also find plenty of (video) tutorials online.
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!