Rank: 305 based on 307 downloads (last 30 days) and 8 files submitted
photo

Shanrong Zhang

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Shanrong View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Nov 2007 Varian MRI FDF reader Open and display Varian FDF image. Author: Shanrong Zhang application, varian, fdf, mri, image 26 3
  • 4.66667
4.7 | 3 ratings
22 Mar 2006 Screenshot PlotAxisAtOrigin This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin. Author: Shanrong Zhang annotation, customization, plot, axis, origin, graphics 162 6
  • 3.0
3.0 | 9 ratings
14 Mar 2006 Screenshot ROIHISTEQ To perform localized histogram equalization on a image Author: Shanrong Zhang enhancement, roi, histogram, equalization 17 0
  • 2.0
2.0 | 1 rating
20 Apr 2005 Micro-CT VFF reader It can be used to open GE micro-CT VFF file. Author: Shanrong Zhang microct, vff, reader 12 1
18 Apr 2005 Screenshot ROI These m-files let you process interactively and multiply on image ROIs. Author: Shanrong Zhang gui, display, annotation, roi, image process, multiple 38 2
  • 4.33333
4.3 | 3 ratings
Comments and Ratings on Shanrong's Files View all
Updated File Comment by Comments Rating
01 Jul 2014 Varian MRI FDF reader Open and display Varian FDF image. Author: Shanrong Zhang Hirotada

I have many errors when opeing FDF files. This is due to MATLAB version.
No errors in Matlab 2011, but not in 2013. Is there any reason to expect?
Anyway, this is very good program.
Thanks.

27 Jun 2014 PlotAxisAtOrigin This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin. Author: Shanrong Zhang Jan

@Anael:

- Hide in comment line containing set(gcf,'color','w')

@Markus Buehren:
- It doesn't work because "Axes in origin" are actually lines in regular axes, which are hidden.

I'm thinking of writing function AxesToOrigin based on this function...

04 Apr 2014 PlotAxisAtOrigin This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin. Author: Shanrong Zhang Anael

Great function!
2 comments though:
-I don't like that it changes the background color.
-I wish it wouldn't need to take any arguments.

19 May 2013 PlotAxisAtOrigin This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin. Author: Shanrong Zhang Bob

07 Apr 2013 PlotAxisAtOrigin This is a 2D vresion of Plot3AxisAtOrigin, which may be used to plot axis at origin. Author: Shanrong Zhang Sam

Hello, I can not understand how to apply this to my code. I want to shift the current origin to (0,0) from (-0.3, 0) but the -y axis should not appear. My code is:

% Plot for lambda = 0.5

n = 30;

dc1 = 1/30*(0.5*66+0.5*62);
dc2 = 1/30*(0.5*57+0.5*55);

dn1 = 1/30*(0.5*40+0.5*30);
dn2 = 1/30*(0.5*35+0.5*20);
dn3 = 1/30*(0.5*20+0.5*27);

e = -0.3:0.01:0.3;


bc1 = 30*dc1*(1+(dc1./(10+e)));
bc2 = 30*dc2*(1+(dc2./(10+e)));

bn1 = 30*dn1*(1+(dn1./(2+e)));
bn2 = 30*dn2*(1+(dn2./(2+e)));
bn3 = 30*dn3*(1+(dn3./(2+e)));


plot(e, bc1, 'g')
hold all
plot(e, bc2, 'r')
hold all
plot(e, bn1, 'b')
hold all
plot(e, bn2, 'y')
hold all
plot(e, bn3, 'black')

set(gca,'XTick',-0.3:0.1:0.3)

set(gca,'XTickLabel',{'-0.3','-0.2','-0.1','0','0.1', '0.2', '0.3'})

ylim([0 90]);
xlim([-0.3 0.3]);

title('BED Plots for Organs');
xlabel('Epsilon range of alpha/beta');
ylabel('BED');

%Thank you very much!

Contact us