From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95821 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with context standalone (pgfplots) Date: Tue, 16 Aug 2016 16:52:50 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1938456887094889247==" X-Trace: blaine.gmane.org 1471359197 27386 195.159.176.226 (16 Aug 2016 14:53:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 Aug 2016 14:53:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 16 16:53:12 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZfjs-0006s1-7O for gctc-ntg-context-518@m.gmane.org; Tue, 16 Aug 2016 16:53:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3B21814F4E; Tue, 16 Aug 2016 16:53:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hQKGo8JRrH5F; Tue, 16 Aug 2016 16:53:05 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7791314F52; Tue, 16 Aug 2016 16:53:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3606914F4E for ; Tue, 16 Aug 2016 16:53:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lL-M2VoDVZBF for ; Tue, 16 Aug 2016 16:53:03 +0200 (CEST) Original-Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id EDC8814F48 for ; Tue, 16 Aug 2016 16:52:52 +0200 (CEST) Original-Received: by mail-it0-f54.google.com with SMTP id e63so35919429ith.1 for ; Tue, 16 Aug 2016 07:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=p2l1gguuMsu9w+OiNj5k80OvaXLbLA1b8NYYTBeUogs=; b=rNkZZV2TmQz39r+/rlkphBWqvvP9UtccVZFe5AT9vUueYhObCbUhNW+Yc7wzNgo1TW aGh0ayXk/D/o4MHB+j6O/0D8XlvldLE/SH8kUVwvYQ9hYpXEwx+bI2oE9guJMGvL8ZDo bcJZT9lRvh6ZvGnVLR6GNawJsP1aWIpNYVtBvWyTf6Yf6mRV+ZhFEMdri/DEUwyuETYU hfF0nEOy+m+YwmfbUKJrlpTubf+kwjXk9rgtKjGFpQK+wUJtnu1DXzpwUqUqn/CwnklH JbA0QidVzv/5MKD2M/hhBDumlLnWlSGvxb2Hb62l3dRHJnq9FBGlm650pmHTFNomkVZK rAvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=p2l1gguuMsu9w+OiNj5k80OvaXLbLA1b8NYYTBeUogs=; b=hMkzbgxrHj03CgBImtn4DRCJWpNlwSQ0aKLF/C8vCTqNqW518qF2DRk+JcYG4cSlqq mFoSk2J3ocJBMLqMsdGoOmUk4qe5KzYZCYj6BBI4mWCu2h5eZNUNNUbyilLuJqIxtab2 Z0+FA/TPeOCVdxjfmvNUI9I9kYc2gw1hiyRzPanDFHammHrHIzfvqVoK6Vs8nY0ud7/H Dqezg9VgxLu2koRM0tj7/WdCHBHAawVAxmjT7CEnVGw26/vjRJC/qvJzrv98J1hUuoV5 QPPytHumbpv00MVsv9ZvoKJXaj8OJMw+EDAJuUskZfKzI4pkq+cZiRwOPoBjq+Nu5SAR tp9Q== X-Gm-Message-State: AEkoousST0JIs9kl+hAA1AbQZNkP40Hh6p5Hv/a/LM5L1eqaD4anWlqdJa0MjRUDtuqbI6UtDTyIkqUA/0iKpA== X-Received: by 10.36.225.15 with SMTP id n15mr21873792ith.30.1471359171118; Tue, 16 Aug 2016 07:52:51 -0700 (PDT) Original-Received: by 10.64.71.4 with HTTP; Tue, 16 Aug 2016 07:52:50 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95821 Archived-At: --===============1938456887094889247== Content-Type: multipart/alternative; boundary=94eb2c1969a6bb5556053a3180db --94eb2c1969a6bb5556053a3180db Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable HI Hans, Sorry, I forgot \usemodule[pgfplots] \pgfplotsset{compat=3D1.13} \usetikzlibrary[intersections] \usepgfplotslibrary[fillbetween] \starttext \starttikzpicture[/pgf/declare function=3D{f(\x)=3D(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] \switchtobodyfont[8pt] \startaxis [restrict x to domain=3D-3:5, xmax=3D5, xmin=3D-3, restrict y to domain=3D-3:3, ymax=3D3, ymin=3D-3, x=3D2cm, y=3D2cm, axis lines=3Dcenter, axis line style =3Dultra thick, major tick style=3Dblack, xtick=3D{-2,-1,...,4}, ytick=3D{-2,-1,...,2}, yticklabels=3D{,,}, xticklabels=3D{,,}, extra x ticks=3D{-3,5}, extra x tick label=3D{\null}, extra y ticks=3D{-3,3}, extra y tick label=3D{\null}, extra tick style=3D{tick style=3D{draw=3Dnone}}, xlabel=3D$x$,ylabel=3D$y$, every axis x label/.style=3D{ at=3D{(ticklabel* cs:1.01)}, anchor=3Dwest, }, every axis y label/.style=3D{ at=3D{(ticklabel* cs:1.01)}, anchor=3Dsouth, }, samples=3D1000, >=3Dstealth] \addplot[smooth, draw=3Dnone, tension=3D0.6, name path=3Dplot] coordinates{ (-2,-2.5) (-1.5,0)(-1,1.5) (-0.5,2) (0,1.5) (1,0) (2,-0.5) (3,0) (4,1.5) }; \path[name path=3Dcut line] (-2,1.5) -- (4,1.5); \draw[thick,intersection segments=3D{of=3Dplot and cut line,sequence=3DL1}]= ; \draw[thick,intersection segments=3D{of=3Dplot and cut line,sequence=3DL2}]= ; \draw[thick, intersection segments=3D{of=3Dplot and cut line,sequence=3DL3}= ]; \node[fill=3Dblack,circle,scale=3D0.4] at (-2,-2.5){}; \node[fill=3Dblack,circle,scale=3D0.4] at (4,1.5){}; \node[below] at (-1.5,-1.5) {\math{{\cal C}_f}}; \node[below] at (1,0) {1}; \node[left] at (0,1) {1}; \node[below left] at (0,0) {0}; \stopaxis \stoptikzpicture \stoptext 2016-08-16 16:34 GMT+02:00 Hans Hagen : > On 8/16/2016 4:26 PM, Fabrice Couvreur wrote: > >> Hello, >> With context in distribution TeXLive 2016,no problem but with standalone >> context, I get the "0.01pt" text in the left corner of the graph. >> > > no code / mwe > > Thanks >> Fabrice >> =E2=80=8B >> >> >> ____________________________________________________________ >> _______________________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> >> > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > ____________________________________________________________ > _______________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ --94eb2c1969a6bb5556053a3180db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI Hans,
Sorry, I forgot

\usemodule[pgfplots]
\pgfplotsset{compat=3D1.13}
\usetikzlibrary[intersections]
\usepgfpl= otslibrary[fillbetween]

\starttext

\starttikzpicture[/pgf/dec= lare function=3D{f(\x)=3D(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},]=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
\switchtobodyfont[8pt]\startaxis
=C2=A0=C2=A0=C2=A0 [restrict x to domain=3D-3:5, xmax=3D5, x= min=3D-3,
=C2=A0=C2=A0=C2=A0=C2=A0 restrict y to domain=3D-3:3, ymax=3D3= , ymin=3D-3,
=C2=A0=C2=A0=C2=A0=C2=A0 x=3D2cm,
=C2=A0=C2=A0=C2=A0=C2= =A0 y=3D2cm,
=C2=A0=C2=A0=C2=A0=C2=A0 axis lines=3Dcenter,
=C2=A0=C2= =A0=C2=A0=C2=A0 axis line style =3Dultra thick,
=C2=A0=C2=A0=C2=A0=C2=A0= major tick style=3Dblack,
=C2=A0=C2=A0=C2=A0=C2=A0 xtick=3D{-2,-1,...,4= },
=C2=A0=C2=A0=C2=A0=C2=A0 ytick=3D{-2,-1,...,2},
=C2=A0=C2=A0=C2=A0= =C2=A0 yticklabels=3D{,,},
=C2=A0=C2=A0=C2=A0=C2=A0 xticklabels=3D{,,},<= br>=C2=A0=C2=A0=C2=A0=C2=A0 extra x ticks=3D{-3,5},
=C2=A0=C2=A0=C2=A0= =C2=A0 extra x tick label=3D{\null},
=C2=A0=C2=A0=C2=A0=C2=A0 extra y ti= cks=3D{-3,3},
=C2=A0=C2=A0=C2=A0=C2=A0 extra y tick label=3D{\null},=C2=A0=C2=A0=C2=A0=C2=A0 extra tick style=3D{tick style=3D{draw=3Dnone}},<= br>=C2=A0=C2=A0=C2=A0=C2=A0 xlabel=3D$x$,ylabel=3D$y$,
=C2=A0=C2=A0=C2= =A0=C2=A0 every axis x label/.style=3D{
=C2=A0=C2=A0=C2=A0=C2=A0 at=3D{(= ticklabel* cs:1.01)},
=C2=A0=C2=A0=C2=A0=C2=A0 anchor=3Dwest,
},
= =C2=A0=C2=A0=C2=A0=C2=A0 every axis y label/.style=3D{
=C2=A0=C2=A0=C2= =A0=C2=A0 at=3D{(ticklabel* cs:1.01)},
=C2=A0=C2=A0=C2=A0=C2=A0 anchor= =3Dsouth,
},
=C2=A0=C2=A0=C2=A0=C2=A0 samples=3D1000,
=C2=A0=C2=A0= =C2=A0=C2=A0 >=3Dstealth]
\addplot[smooth,
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 draw=3Dnone,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 tension=3D0.6,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 name path=3Dplot]
coordinates{
(-2,-2.5) (-1.5,0)(-1,1.5= ) (-0.5,2)
(0,1.5) (1,0) (2,-0.5)
(3,0) (4,1.5)
};

\path[na= me path=3Dcut line] (-2,1.5) -- (4,1.5);

\draw[thick,intersection se= gments=3D{of=3Dplot and cut line,sequence=3DL1}];
=C2=A0
\draw[thick= ,intersection segments=3D{of=3Dplot and cut line,sequence=3DL2}];
=C2=A0= =C2=A0
\draw[thick, intersection segments=3D{of=3Dplot and cut line,seq= uence=3DL3}];

\node[fill=3Dblack,circle,scale=3D0.4] at (-2,-2.5){};=
\node[fill=3Dblack,circle,scale=3D0.4] at (4,1.5){};
=C2=A0=C2=A0=C2= =A0
\node[below] at (-1.5,-1.5) {\math{{\cal C}_f}};
\node[below] at= (1,0) {1};
\node[left] at (0,1) {1};
\node[below left] at (0,0) {0};=

\stopaxis

\stoptikzpicture=C2=A0

\stoptext


2016-08= -16 16:34 GMT+02:00 Hans Hagen <pragma@wxs.nl>:
On 8/16/2016 4:26 PM, Fabrice Couvreur w= rote:
Hello,
With context in distribution TeXLive 2016,no problem but with standalone context, I get the "0.01pt" text in the left corner of the graph.=

no code / mwe

Thanks
Fabrice
=E2=80=8B


_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________



--

-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 H= ans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/project= s/contextrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1969a6bb5556053a3180db-- --===============1938456887094889247== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1938456887094889247==--