ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Implicit plots/level curves possible?
@ 2018-10-07 15:25 Mikael P. Sundqvist
  2018-10-07 15:35 ` luigi scarso
  2018-10-07 17:14 ` Alan Braslau
  0 siblings, 2 replies; 14+ messages in thread
From: Mikael P. Sundqvist @ 2018-10-07 15:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

Dear list,

Is it possiblet to make implicit plots (i.e. ploting the curves
described by equations) in MetaFun? I cannot find anything about them
in the MetaFun manual.

For example, in Mathematica I can write something like

ContourPlot[2 x^5 + x y + y^5 == 0, {x, 0, 2}, {y, -2, 1/2}]

to get the attached figure.

The closest I have found which is something MetaPost-like, is the
levelcurve command in mfpic (see for example this answer
https://tex.stackexchange.com/a/405527/52406).

If this is not currently possible in MetaFun, what is the simplest way
to proceed (I want the same style of the plots as the other ones in my
doc)? Is it to

1) somehow run mfpic from within ConTeXt?
2) export points from Mathematica and plot them in ConTeXt (how could
that be done?). In the latter case, say I have the points (0,0),
(0.4,1), and (0.8,2) exported to a file. What format should it be in
to be easily imported and plot in MetaFun?
3) some other way?

/Mikael

[-- Attachment #2: implicitplot.png --]
[-- Type: image/png, Size: 9963 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-10-11 13:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-07 15:25 Implicit plots/level curves possible? Mikael P. Sundqvist
2018-10-07 15:35 ` luigi scarso
2018-10-07 17:14 ` Alan Braslau
2018-10-07 18:02   ` Mikael P. Sundqvist
2018-10-07 18:03   ` Hans Hagen
2018-10-08 20:00     ` Aditya Mahajan
2018-10-08 20:20       ` Alan Braslau
2018-10-08 21:25         ` Aditya Mahajan
2018-10-08 21:53           ` Alan Braslau
2018-10-08 21:56           ` Aditya Mahajan
2018-10-09 22:23             ` Alan Braslau
2018-10-11 13:55               ` Aditya Mahajan
2018-10-08 22:03           ` Hans Hagen
2018-10-09 11:12             ` Mikael P. Sundqvist

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).