Information and discussion about specific document classes and how to create your own document classes.
sveioen
Posts: 28 Joined: Tue Mar 06, 2007 1:04 am
Post
by sveioen » Sun May 13, 2007 2:11 pm
Is there a way to make PStricks understand what values the lower left and the upper right of the picture is by itself?
Code: Select all
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The hardest work is sometimes just to make the "picture object" the right size so it fits with the actual graphic in it. There must be an easier way?
NEW: TikZ book now 40% off at Amazon.com for a short time.
localghost
Site Moderator
Posts: 9202 Joined: Fri Feb 02, 2007 12:06 pm
Post
by localghost » Sun May 13, 2007 9:23 pm
If this process is too hard or too inconvenient for you, take a look at the
pgf/tikZ package. But specifying the size of a pstricks picture is not so complicated that such an automatism is needed. The
showgrid option of the
pspicture environment can always be helpful.
Code: Select all
Code, edit and compile here:
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Run LaTeX here
sveioen
Posts: 28 Joined: Tue Mar 06, 2007 1:04 am
Post
by sveioen » Sun May 13, 2007 10:26 pm
Once again localghost, thank you.
That will sure make it easier!
sveioen
Posts: 28 Joined: Tue Mar 06, 2007 1:04 am
Post
by sveioen » Tue Sep 18, 2007 2:39 pm
localghost wrote:
Take a look at the documentation of the
pst-func package (Section 6.3 - Poisson Distribution, p. 24ff).
Trying to use this function, but I only get the error
Code: Select all
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I have added the pst-func package.
localghost
Site Moderator
Posts: 9202 Joined: Fri Feb 02, 2007 12:06 pm
Post
by localghost » Sun Sep 23, 2007 6:29 pm
You should get used to updating your LaTeX distribution in regular terms. Packages like
pst-func are under continuous development. The
\psPoisson command has not always been a part of the
pst-func package. It was implemented in a later version, exactly in version 0.48 from March 17th 2007. So make sure you are using the current version (in this case 0.50) to get things work.
hubert
Posts: 3 Joined: Thu Dec 13, 2007 12:03 pm
Post
by hubert » Thu Dec 13, 2007 12:27 pm
sveioen wrote:
Does anyone know how this expression (Poisson distribution) is expressed with RPN? (need it in RPN form to plot in PStricks)
[url]http://www.matematikk.net/cgi-bin/mimetex.cgi?F(x)%20=%20\frac{e^{-0.68}*0.68^{x}}{x!}[/url]
F(x) = \frac{e^{-0.68}*0.68^{x}}{x!}
And by the way, this forum should really have TeX support
Another way of getting RPN from infix is to use the
infix-RPN package.
balfonsi
Posts: 93 Joined: Wed Mar 14, 2007 12:05 am
Post
by balfonsi » Thu Dec 13, 2007 2:09 pm
With the 'algebraic' option of pstricks-add, you don't need to use RPN notation any more with pst-plot.
B.A.
hubert
Posts: 3 Joined: Thu Dec 13, 2007 12:03 pm
Post
by hubert » Sat Dec 15, 2007 6:15 am
True. However when you plot graphs and want to refer to a function value directly, you still need RPN for the "(! )" (\SpecialCoor) statements.
Hence my own learning path (only started this year!) was to use infix-RPN, place a \RPN somewhere and learn how to translate between infix & RPN myself.