Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Using Axes -> True of the following........

Plot[(2/Sqrt[6]) Sin[
   0.5 ArcSin[Sqrt[(3 R^2)/((2 - R)^2 + 3 R^2)]]], {R, 0.0, 1.3}, 
 PlotRange -> {0.0, .23}, Axes -> True, 
 FrameLabel -> {d/a, Subscript[Sin\[Theta], 13]}, 
 PlotStyle -> Directive[Red, Thick], 
 LabelStyle -> Directive[Black, Bold]]

I am getting a plot starting from (0,0)


But using Frame->True what i am getting throuh

Plot[(2/Sqrt[6]) Sin[
   0.5 ArcSin[Sqrt[(3 R^2)/((2 - R)^2 + 3 R^2)]]], {R, 0.0, 1.3}, 
 PlotRange -> {0.0, .23}, Frame -> True, 
 FrameLabel -> {d/a, Subscript[Sin\[Theta], 13]}, 
 PlotStyle -> Directive[Red, Thick], 
 LabelStyle -> Directive[Black, Bold]]

is not starting from (0,0). Instead it is starting from (-.05,0)


In the second case, y-axis has been shifted from x=0. How to fix it? P.S.- since i don't have 10 reputation , I am unable to post images.


enter image description here

enter image description here

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted
Plot[(2/Sqrt[6]) Sin[0.5 ArcSin[Sqrt[(3 R^2)/((2 - R)^2 + 3 R^2)]]], {R,0.0,1.3},
 PlotRange -> {{0, 1.2}, {0, .2}}, Frame -> True, 
 FrameLabel -> {d/a, Subscript[Sin[Theta], 13]},
 PlotStyle -> Directive[Red, Thick], LabelStyle -> Directive[Black, Bold]
]

enter image description here

share|improve this answer
    
Thanks a lot @HyperGroups. Problem solved, using PlotRange -> {{0, 1.3}, {0, .23}} insted of {R, 0.0, 1.3}, PlotRange -> {0.0, .23} –  Biswajit Karmakar May 9 '13 at 7:00
    
Just a tip: you can export your graphics by right clicking on it. No need for a screenprint like you seem to have done. Szabolcs' SE uploader is currently broken, but when it is fixed it is the best tool for posting mma images. –  Sjoerd C. de Vries May 9 '13 at 7:10
    
@SjoerdC.deVries, actually I did that, but due to a third party link it looks like that. Thanks for Szabolcs' SE uploader idea. I didn't know that. –  Biswajit Karmakar May 9 '13 at 7:20
    
@SjoerdC.deVries heihei, sometimes I really hate that Save as image's defult format is PDF,,,and I really love the Snipping Tool of windows V/7/8, –  HyperGroups May 9 '13 at 7:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.