Use ContourPlot data in ParametricPlotContourPlot from Vector DataContourPlot with parameterUsing Show to place a ParametricPlot on a LogLog scaleScale coloring of ContourPlotContourPlot gives wrong outputLogLogPLot with two left&right axesHow to set the region of variable in the ParametricPlot?ParametricPlot not plotting resultsParametricPlot with more than two parametersParametricPlot table of complex functions in several graphs

Why did Robert F. Kennedy loathe Lyndon B. Johnson?

Is conquering your neighbors to fight a greater enemy a valid strategy?

Was the 45.9°C temperature in France in June 2019 the highest ever recorded in France?

Who goes first? Person disembarking bus or the bicycle?

Can a USB hub be used to access a drive from two devices?

E12 LED light bulb flickers when OFF in candelabra

Four ships at the ocean with the same distance

My professor has told me he will be the corresponding author. Will it hurt my future career?

Tesco's Burger Relish Best Before End date number

What are the effects of abstaining from eating a certain flavor?

Can we share mixing jug/beaker for developer, fixer and stop bath?

Why am I getting unevenly-spread results when using $RANDOM?

What is this burst transmission sequence across the entire band?

Can one block with a protection from color creature?

How to evaluate the performance of open source solver?

Jimmy needs your help!

Sorting a list according to some pre-specified rules

Why did the frequency of the word "черт" (devil) in books increase by a few times since the October Revolution?

How do I talk to my wife about unrealistic expectations?

Is it ok for parents to kiss and romance with each other while their 2- to 8-year-old child watches?

Taking my Ph.D. advisor out for dinner after graduation

What does "spinning upon the shoals" mean?

I'm feeling like my character doesn't fit the campaign

Diagram with cylinder shapes and rectangles



Use ContourPlot data in ParametricPlot


ContourPlot from Vector DataContourPlot with parameterUsing Show to place a ParametricPlot on a LogLog scaleScale coloring of ContourPlotContourPlot gives wrong outputLogLogPLot with two left&right axesHow to set the region of variable in the ParametricPlot?ParametricPlot not plotting resultsParametricPlot with more than two parametersParametricPlot table of complex functions in several graphs






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3












$begingroup$


Let me give an example,



probe1 = ContourPlot[10 == x + y, x, 0, 10, y, 0, 10, Frame -> True, FrameLabel -> "x", "y"]


This plots 10=f[x,y]=x+y, for a set of point (x,y) that solved the equality. Moreover,



probe2 = ParametricPlot[x y, x^2 + y^2, x, 0, 10, y, 0, 10]


where g=g[x,y]=xy and h=h[x,y]=x^2+y^2, plots h=h[g[x,y]]. What I want is to plot only the case in which x+y=10. What should I do?










share|improve this question









$endgroup$







  • 2




    $begingroup$
    How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
    $endgroup$
    – Simon Woods
    7 hours ago

















3












$begingroup$


Let me give an example,



probe1 = ContourPlot[10 == x + y, x, 0, 10, y, 0, 10, Frame -> True, FrameLabel -> "x", "y"]


This plots 10=f[x,y]=x+y, for a set of point (x,y) that solved the equality. Moreover,



probe2 = ParametricPlot[x y, x^2 + y^2, x, 0, 10, y, 0, 10]


where g=g[x,y]=xy and h=h[x,y]=x^2+y^2, plots h=h[g[x,y]]. What I want is to plot only the case in which x+y=10. What should I do?










share|improve this question









$endgroup$







  • 2




    $begingroup$
    How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
    $endgroup$
    – Simon Woods
    7 hours ago













3












3








3





$begingroup$


Let me give an example,



probe1 = ContourPlot[10 == x + y, x, 0, 10, y, 0, 10, Frame -> True, FrameLabel -> "x", "y"]


This plots 10=f[x,y]=x+y, for a set of point (x,y) that solved the equality. Moreover,



probe2 = ParametricPlot[x y, x^2 + y^2, x, 0, 10, y, 0, 10]


where g=g[x,y]=xy and h=h[x,y]=x^2+y^2, plots h=h[g[x,y]]. What I want is to plot only the case in which x+y=10. What should I do?










share|improve this question









$endgroup$




Let me give an example,



probe1 = ContourPlot[10 == x + y, x, 0, 10, y, 0, 10, Frame -> True, FrameLabel -> "x", "y"]


This plots 10=f[x,y]=x+y, for a set of point (x,y) that solved the equality. Moreover,



probe2 = ParametricPlot[x y, x^2 + y^2, x, 0, 10, y, 0, 10]


where g=g[x,y]=xy and h=h[x,y]=x^2+y^2, plots h=h[g[x,y]]. What I want is to plot only the case in which x+y=10. What should I do?







plotting parametric-functions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 9 hours ago









Patrick El PolloPatrick El Pollo

19610 bronze badges




19610 bronze badges







  • 2




    $begingroup$
    How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
    $endgroup$
    – Simon Woods
    7 hours ago












  • 2




    $begingroup$
    How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
    $endgroup$
    – Simon Woods
    7 hours ago







2




2




$begingroup$
How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
$endgroup$
– Simon Woods
7 hours ago




$begingroup$
How about a parametric region Region[ParametricRegion[x y, x^2 + y^2, x + y == 10, x, 0, 10, y, 0, 10], Frame -> True]
$endgroup$
– Simon Woods
7 hours ago










2 Answers
2






active

oldest

votes


















3












$begingroup$

You can use the argument of ContourPlot as the MeshFunctions option value in ParametricPlot as follows:



ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, 
MeshFunctions -> Function[x, y, u, t, u + t - 10],
Mesh -> 0,
MeshStyle -> Directive[Red, Thick]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
    $endgroup$
    – Patrick El Pollo
    16 mins ago











  • $begingroup$
    @PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
    $endgroup$
    – kglr
    3 mins ago


















1












$begingroup$

This may be what you want



Clear["Global`*"]

eqn = 10 == x + y;

ysol[x_] = y /. Solve[eqn, y][[1]]

(* 10 - x *)

Show[
ParametricPlot[
x y, x^2 + y^2,
x, 0, 10, y, 0, 10],
ParametricPlot[
Evaluate[x y, x^2 + y^2 /. y -> ysol[x]],
x, 0, 10,
PlotStyle -> Red]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
    $endgroup$
    – Patrick El Pollo
    8 hours ago










  • $begingroup$
    @PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
    $endgroup$
    – Bob Hanlon
    4 hours ago













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201627%2fuse-contourplot-data-in-parametricplot%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

You can use the argument of ContourPlot as the MeshFunctions option value in ParametricPlot as follows:



ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, 
MeshFunctions -> Function[x, y, u, t, u + t - 10],
Mesh -> 0,
MeshStyle -> Directive[Red, Thick]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
    $endgroup$
    – Patrick El Pollo
    16 mins ago











  • $begingroup$
    @PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
    $endgroup$
    – kglr
    3 mins ago















3












$begingroup$

You can use the argument of ContourPlot as the MeshFunctions option value in ParametricPlot as follows:



ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, 
MeshFunctions -> Function[x, y, u, t, u + t - 10],
Mesh -> 0,
MeshStyle -> Directive[Red, Thick]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
    $endgroup$
    – Patrick El Pollo
    16 mins ago











  • $begingroup$
    @PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
    $endgroup$
    – kglr
    3 mins ago













3












3








3





$begingroup$

You can use the argument of ContourPlot as the MeshFunctions option value in ParametricPlot as follows:



ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, 
MeshFunctions -> Function[x, y, u, t, u + t - 10],
Mesh -> 0,
MeshStyle -> Directive[Red, Thick]]


enter image description here






share|improve this answer









$endgroup$



You can use the argument of ContourPlot as the MeshFunctions option value in ParametricPlot as follows:



ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, 
MeshFunctions -> Function[x, y, u, t, u + t - 10],
Mesh -> 0,
MeshStyle -> Directive[Red, Thick]]


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 3 hours ago









kglrkglr

203k10 gold badges232 silver badges462 bronze badges




203k10 gold badges232 silver badges462 bronze badges











  • $begingroup$
    It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
    $endgroup$
    – Patrick El Pollo
    16 mins ago











  • $begingroup$
    @PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
    $endgroup$
    – kglr
    3 mins ago
















  • $begingroup$
    It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
    $endgroup$
    – Patrick El Pollo
    16 mins ago











  • $begingroup$
    @PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
    $endgroup$
    – kglr
    3 mins ago















$begingroup$
It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
$endgroup$
– Patrick El Pollo
16 mins ago





$begingroup$
It worked. Thanks. Do you have a sugestion to include in the same ParametricPlot several cases of the condition, for example u+v-2 and u+v-5, etc? What should I change in your solution?
$endgroup$
– Patrick El Pollo
16 mins ago













$begingroup$
@PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
$endgroup$
– kglr
3 mins ago




$begingroup$
@PatrickElPollo, try ParametricPlot[u t, u^2 + t^2, u, 0, 10, t, 0, 10, MeshFunctions -> Function[x, y, u, t, u + t], Mesh -> 9, Directive[Red, Opacity[1], Thick], 10, Directive[Green, Opacity[1], Thick], 12, Directive[Black, Opacity[1], Thick]]
$endgroup$
– kglr
3 mins ago













1












$begingroup$

This may be what you want



Clear["Global`*"]

eqn = 10 == x + y;

ysol[x_] = y /. Solve[eqn, y][[1]]

(* 10 - x *)

Show[
ParametricPlot[
x y, x^2 + y^2,
x, 0, 10, y, 0, 10],
ParametricPlot[
Evaluate[x y, x^2 + y^2 /. y -> ysol[x]],
x, 0, 10,
PlotStyle -> Red]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
    $endgroup$
    – Patrick El Pollo
    8 hours ago










  • $begingroup$
    @PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
    $endgroup$
    – Bob Hanlon
    4 hours ago















1












$begingroup$

This may be what you want



Clear["Global`*"]

eqn = 10 == x + y;

ysol[x_] = y /. Solve[eqn, y][[1]]

(* 10 - x *)

Show[
ParametricPlot[
x y, x^2 + y^2,
x, 0, 10, y, 0, 10],
ParametricPlot[
Evaluate[x y, x^2 + y^2 /. y -> ysol[x]],
x, 0, 10,
PlotStyle -> Red]]


enter image description here






share|improve this answer









$endgroup$












  • $begingroup$
    it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
    $endgroup$
    – Patrick El Pollo
    8 hours ago










  • $begingroup$
    @PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
    $endgroup$
    – Bob Hanlon
    4 hours ago













1












1








1





$begingroup$

This may be what you want



Clear["Global`*"]

eqn = 10 == x + y;

ysol[x_] = y /. Solve[eqn, y][[1]]

(* 10 - x *)

Show[
ParametricPlot[
x y, x^2 + y^2,
x, 0, 10, y, 0, 10],
ParametricPlot[
Evaluate[x y, x^2 + y^2 /. y -> ysol[x]],
x, 0, 10,
PlotStyle -> Red]]


enter image description here






share|improve this answer









$endgroup$



This may be what you want



Clear["Global`*"]

eqn = 10 == x + y;

ysol[x_] = y /. Solve[eqn, y][[1]]

(* 10 - x *)

Show[
ParametricPlot[
x y, x^2 + y^2,
x, 0, 10, y, 0, 10],
ParametricPlot[
Evaluate[x y, x^2 + y^2 /. y -> ysol[x]],
x, 0, 10,
PlotStyle -> Red]]


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 9 hours ago









Bob HanlonBob Hanlon

63.4k3 gold badges36 silver badges99 bronze badges




63.4k3 gold badges36 silver badges99 bronze badges











  • $begingroup$
    it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
    $endgroup$
    – Patrick El Pollo
    8 hours ago










  • $begingroup$
    @PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
    $endgroup$
    – Bob Hanlon
    4 hours ago
















  • $begingroup$
    it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
    $endgroup$
    – Patrick El Pollo
    8 hours ago










  • $begingroup$
    @PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
    $endgroup$
    – Bob Hanlon
    4 hours ago















$begingroup$
it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
$endgroup$
– Patrick El Pollo
8 hours ago




$begingroup$
it works, but what I want is a way to extract the pairs from ContourPlot when Solve does not work to use them as parameters in ParametricPlot.
$endgroup$
– Patrick El Pollo
8 hours ago












$begingroup$
@PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
$endgroup$
– Bob Hanlon
4 hours ago




$begingroup$
@PatrickElPollo - have you tried using a numeric solver such as NSolve or FindRoot?
$endgroup$
– Bob Hanlon
4 hours ago

















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematica Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f201627%2fuse-contourplot-data-in-parametricplot%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單