Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the tkz-fct package between the curves is not colored! #13

Open
mojtabaahmadi2020tl opened this issue May 14, 2020 · 1 comment
Open
Assignees
Labels
bug Something isn't working engine enhancement New feature or request help wanted Extra attention is needed

Comments

@mojtabaahmadi2020tl
Copy link

mojtabaahmadi2020tl commented May 14, 2020

\documentclass[border=3mm]{standalone}
\usepackage{amsmath,tkz-fct}
\usepackage{xepersian}
\settextfont{Yas}
\setdigitfont{Yas}

\begin{document}

\begin{tikzpicture}[scale=2.5]
\tkzInit[xmin=-1,xmax=4,ymin=0,ymax=5]
\tkzGrid
\tkzAxeXY
\tkzFct[domain = -.5:4]{ 4*x-x**2+4/(x**2+1)**2}
\tkzFct[domain = -.5:4]{x-1+4/(x**2+1)**2}
\tkzDrawAreafg[color=green,domain = 1:4]
\tkzDrawAreafg[pattern=north west lines,domain = -.5:1]
\tkzRep
\tkzText(2.5,4.5){$C_f$}
\tkzText(2.5,1){$C_g$}
\end{tikzpicture}

\end{document}

output:
tkz-fct-xepersian-TL2020.log

tkz-fct-xepersian-TL2020.pdf

output Without xepersian:
tkz-fct-TL2020.log

tkz-fct-TL2020.pdf

@vafakhalighi vafakhalighi self-assigned this May 15, 2020
@vafakhalighi vafakhalighi added bug Something isn't working engine labels May 15, 2020
@vafakhalighi
Copy link
Contributor

I can also reproduce the problem without using xepersian. I get some warnings from pgf

Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 13.

( FP-EVAL ( FP-UPN ( FP-SUB ) ) ) ( FP-EVAL ( FP-UPN ) ) ( FP-DIV ) ( FP-DIV )

Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 14.

( FP-EVAL ( FP-UPN ) ) ( FP-EVAL ( FP-UPN ) ) ( FP-DIV ) ( FP-DIV )

Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 15.


Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 15.

( FP-EVAL ( FP-UPN ) ) ( FP-EVAL ( FP-UPN ) ) ( FP-EVAL ( FP-UPN ( FP-SUB ) )
) ( FP-EVAL ( FP-UPN ) ) ( FP-DIV ) ( FP-DIV )

Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 16.


Package pgf Warning: Plot data file `test.tkzfonct.table' not found. on input l
ine 16.

@vafakhalighi vafakhalighi added enhancement New feature or request help wanted Extra attention is needed labels May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants