Yannick
2006-11-13 16:41:45 UTC
Hi there,
I tried to plot the function sin(arcsin(x)+pi/4) in LaTeX, but I get the
wrong graph. I plotted already many function like
tan(x) exp(x) and it all worked fine. Here is the code:
\documentclass[a4 paper]{article}
\usepackage{amsmath}
\usepackage{pstricks,pstricks-add}
\begin{document}
\begin{pspicture*}(-2,-2)(4,4)
\psset{algebraic=true}
\psaxes{->}(0,0)(-2,-2)(4,4)
\psplot{-1}{1}{arcsin(x)} !!!!!
\end{pspicture*}
\end{document}
does NOT give the right graph
the SAME with
"\psplot{-1}{1}{sin(x)}"
instead of
"\psplot{-1}{1}{arcs(x)}"
DOES give the right graph
I also tried to type in "asin" like in the documentation of
"pstricks-add", but this results in an error massage.
Does anybody know how to solve the problem?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org
<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
I tried to plot the function sin(arcsin(x)+pi/4) in LaTeX, but I get the
wrong graph. I plotted already many function like
tan(x) exp(x) and it all worked fine. Here is the code:
\documentclass[a4 paper]{article}
\usepackage{amsmath}
\usepackage{pstricks,pstricks-add}
\begin{document}
\begin{pspicture*}(-2,-2)(4,4)
\psset{algebraic=true}
\psaxes{->}(0,0)(-2,-2)(4,4)
\psplot{-1}{1}{arcsin(x)} !!!!!
\end{pspicture*}
\end{document}
does NOT give the right graph
the SAME with
"\psplot{-1}{1}{sin(x)}"
instead of
"\psplot{-1}{1}{arcs(x)}"
DOES give the right graph
I also tried to type in "asin" like in the documentation of
"pstricks-add", but this results in an error massage.
Does anybody know how to solve the problem?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org
<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/