From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Floris van Manen via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: [NTG-context] tikz + lmtx
Date: Fri, 28 Apr 2023 17:38:35 -0400 (EDT) [thread overview]
Message-ID: <o5320qor-1062-3839-ps43-33nnqo6n37r6@hzvpu.rqh> (raw)
In-Reply-To: <c306f915-d7ff-ef01-22ab-01c05415e25e@klankschap.nl>
On Fri, 28 Apr 2023, Floris van Manen via ntg-context wrote:
>
>
> On 28/04/2023 16:25, Aditya Mahajan via ntg-context wrote:
> > These are already part of the distribution. Just one caveat: you need to use
> >
> > \usemodule[tikz]
> > \usemodule[pgfplots]
>
>
> when running the example from contextgarden:
> https://wiki.contextgarden.net/Pgfplot
>
> \setupcolors[state=start]
> \usemodule[tikz]
> \usemodule[pgfplots]
> \starttext
> \starttikzpicture
> \startaxis[
> xmin=0,xmax=300,
> title=http://cryogenics.nist.gov/,
> xlabel=$T$ (K),
> ylabel=$(L-L_{293})/L_{293}$,
> legend style={at={(0.95,0.05)},anchor=south east},
> width=16cm ]
> \addplot[mark=none,color=red] plot file {sapphire.dat};
> \addlegendentry{sapphire}
> \addplot[mark=none,color=green] plot file {Be.dat};
> \addlegendentry{Be}
> \addplot[mark=none,color=blue] plot file {BeCu.dat};
> \addlegendentry{BeCu}
> \addplot[mark=none,color=cyan] plot file {SS304.dat};
> \addlegendentry{SS304}
> \addplot[mark=none,color=magenta] plot file {Al6061-T6.dat};
> \addlegendentry{Al6061-T6}
> \addplot[mark=none,color=orange] plot file {nylon.dat};
> \addlegendentry{nylon}
> \stopaxis
> \stoptikzpicture
> \stoptext
Is it possible to create a standalone test that does not depend on a bunch of datafiles that need to be downloaded?
Thanks,
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-04-28 21:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-28 4:08 Aditya Mahajan via ntg-context
2023-04-28 5:01 ` Aditya Mahajan via ntg-context
2023-04-28 13:22 ` Ulrike Fischer via ntg-context
2023-04-28 14:08 ` Gavin via ntg-context
2023-04-28 14:25 ` Aditya Mahajan via ntg-context
2023-04-28 16:42 ` Floris van Manen via ntg-context
2023-04-28 21:38 ` Aditya Mahajan via ntg-context [this message]
2023-04-28 14:26 ` Aditya Mahajan via ntg-context
2023-05-02 5:49 ` Aditya Mahajan via ntg-context
2023-05-04 14:45 ` Hans Hagen via ntg-context
2023-05-04 21:12 ` Aditya Mahajan via ntg-context
2023-05-04 21:22 ` Hans Hagen via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=o5320qor-1062-3839-ps43-33nnqo6n37r6@hzvpu.rqh \
--to=ntg-context@ntg.nl \
--cc=adityam@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).