From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108764 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Add arrow tips to axes in lmt_function Date: Sat, 19 Sep 2020 11:54:15 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8078433076620807134==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38085"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 19 18:54:41 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJg8G-0009ma-Fx for gctc-ntg-context-518@m.gmane-mx.org; Sat, 19 Sep 2020 18:54:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EE630153B04; Sat, 19 Sep 2020 18:54:29 +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 8wF5zp6t0uiI; Sat, 19 Sep 2020 18:54:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 109C3153AF7; Sat, 19 Sep 2020 18:54:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5EAFB153AF7 for ; Sat, 19 Sep 2020 18:54:27 +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 tqNKCSE_cowY for ; Sat, 19 Sep 2020 18:54:26 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.52; helo=mail-wr1-f52.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E22EE153AF1 for ; Sat, 19 Sep 2020 18:54:26 +0200 (CEST) Original-Received: by mail-wr1-f52.google.com with SMTP id k15so8605865wrn.10 for ; Sat, 19 Sep 2020 09:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VSzRiwbZFTmpFtzIqygxgv9A6YJpJH2VKOytHy4UNSg=; b=NlqzET6H57Xk0JzDn/glWUtvMlu2FYOg5soB3a8opMT+lw2FdR9u+umJUcAaQ3wBlh kfH48g0sZIuSI6+mRXgnSEYaAJGIBmLF2rSWKQW8x18iOVNLXqUTb8o280HWlAOKehaA ecGNwZdgvXQMn2/b5WbYWozljex7h9D3/TdxkUYatS6E887bmvMBhNh01dDOmJISTOGH 6ckj7+zqDFpyYeTG9jotAO6GvfXMfY2NZuNEuwXHa4lM3i2S1MvwOvtQNYdup4H3n3fR N3fzLz10YWyoed0cdshwpkV1WqYC0pDg+NWvSa/RbGoSy1Y2c8gIhMR+g/w5NPUTZCF9 Am/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VSzRiwbZFTmpFtzIqygxgv9A6YJpJH2VKOytHy4UNSg=; b=J32adxmBN54dPxOphNwkWdpN+DJQjR1ODoniejlkGdhSdWRnvdT57bWRtOg6/LWu9H nzn5RjSM+GqbizW1Fxh43D60LkXTT2EA+9hNHlncaVGRuoXm4VYH6XxUNnJrNDHc8SzG 6ZRgszWNZnv5Yj9SGjVqg2LNtBjAsF/lNp7XdyVTgGDmRmXTHRbmKZudfCoSXUEY2ffT TlBBa9jhf9JoGu/1q3bv05L+3yLJmCED/gHrQbnLBNc/GMvceI25apmsnOarrIG1TmZa Oeuon5GNpyBCZc5FHPltVdnpr2aAATVdI+1g4cRxFnOOlVASVa9YfHkICLPNEjKnWJjD qIPA== X-Gm-Message-State: AOAM530iL2rWT+6WbLv9VrYxDUAABh5zHGEClPA/oIiSwFcsJ7ikVp3j V2VAtKdSx6XeAJvQ0DC4KPizhMqHl4Pr7x0eH3VUf6cjBkpqyg== X-Google-Smtp-Source: ABdhPJy+TRc8ux2YCCLXR52coNEZPvZ9dMgltDCGGqZREvNMc7lF7dAem21ESy9qG/HZvYBKGBxRXZFER8jDCMxxBW0= X-Received: by 2002:adf:e6c7:: with SMTP id y7mr41402915wrm.147.1600534466305; Sat, 19 Sep 2020 09:54:26 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:108764 Archived-At: --===============8078433076620807134== Content-Type: multipart/alternative; boundary="00000000000050a29a05afad78ee" --00000000000050a29a05afad78ee Content-Type: text/plain; charset="UTF-8" Hi, list! I want to know how to add arrow tips for axes (x, y) to a function. I did the following based on a luametafun example: \starttext \startMPcode{doublefun} draw lmt_function [ xmin=0, xmax=10, xstep=.05, ymin=-2, ymax=2, code="1.5 * math.cosd(240 * math.sqrt(x))", xlabels="no",ylabels="no", sx=2mm, sy=4mm, linewidth=.025mm, offset=.1mm,] xsized 8cm; \stopMPcode \stoptext But I didn't find anywhere in manuals or the mailing list concerning arrows, nor key-value pairs for lmt_function. Thank you in advance. Best regards, Jairo :) --00000000000050a29a05afad78ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, list! I want to know how to add arrow tips for axes (x= , y) to a function. I did the following based on a luametafun example:
<= div>

\starttext
\startMPcode{doublefun}
draw lmt_function[
xmin=3D0, xmax=3D10,
xstep=3D.05,
ymin=3D-2, ymax=3D2,

= code=3D"1.5 * math.cosd(240 * math.sqrt(x))",

xlabels=3D&q= uot;no",ylabels=3D"no",

sx=3D2mm, sy=3D4mm, linewidth= =3D.025mm, offset=3D.1mm,]

xsized 8cm;
\stopMPcode
\stoptext <= br>
But I didn't find anywhere in manuals or the mailing = list concerning arrows, nor key-value pairs for lmt_function. Thank you in = advance.

Best regards,

Jairo :)
--00000000000050a29a05afad78ee-- --===============8078433076620807134== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8078433076620807134==--