tonyfast / SpatialStatisticsFFT

A matlab function to compute Pair and Vector Resolved Spatial Statistics on Materials Science information.
tonyfast.com/SpatialStatisticsFFT/
7 stars 10 forks source link

Fixing Multiple labels for Colorbar of Pcolor Plot in MATLAB #12

Open ghost opened 10 years ago

ghost commented 10 years ago

Adding the line:

set(gcf, 'renderer', 'zbuffer'); 

whenever you use colorbar might help in fixing the problem of multiple label issue.

BEFORE t1

AFTER t2

ghost commented 10 years ago

Oops! Looks like the problem vanishes when we are saving the plot. But the visualization is still bad. Here is a screenshot:

bad

tonyfast commented 10 years ago

Thank you @kiransamudrala.

Please checkout the new SpatialStatsFFT and PlotSlice on the iss12-zbuffer branch. If the problem is fixed I will merge the results.