Category plots: a serious limitation in Igor Pro?
KatySmith
I am facing serious limitation in Igor pro. I have data points on the y-axis going from -15 to 5. The category plot can only be plotted growing up from zero and hence my column is inversed. I tried every single way to try to plot a column growing upwards from -15 to 5 but failed.
Any suggestion?
Kind regards,
Katy
I think the problem is to do with that the base line of category plots is always set to positive number or zero but negative values are not possible! A real challenge!
Thanks
Katy
December 16, 2012 at 05:39 pm - Permalink
a -6.5 -15
b -8 -15
c -9 -15
d -11 -15
e -7.5 -15
f -7 -15
Window categoryFromMinus15() : Graph
PauseUpdate; Silent 1 // building window...
Display /W=(39,273.5,433.5,487.25) data,minus15 vs categories
ModifyGraph mode(minus15)=2
ModifyGraph toMode(data)=1,toMode(minus15)=2
SetAxis left -15,0
EndMacro
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
December 16, 2012 at 08:56 pm - Permalink
Make/O data2 ={-6.5+15, -8+15, -9+15, -11+15, -7.5+15, -7+15} // Original data plus 15
Display data2 vs categories2
ModifyGraph offset={0,-15}
SetAxis left, -15, 0
December 16, 2012 at 11:39 pm - Permalink