Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15980 > unrolled thread

Re: ContourPlot and lines vrs. 8.0

Started byBob Hanlon <hanlonr@cox.net>
First post2011-02-09 07:12 +0000
Last post2011-02-09 07:12 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: ContourPlot and lines vrs. 8.0 Bob Hanlon <hanlonr@cox.net> - 2011-02-09 07:12 +0000

#15980 — Re: ContourPlot and lines vrs. 8.0

FromBob Hanlon <hanlonr@cox.net>
Date2011-02-09 07:12 +0000
SubjectRe: ContourPlot and lines vrs. 8.0
Message-ID<iiteop$jme$1@smc.vnet.net>
Show[ContourPlot[(\[Alpha]h1 xh-xh^2)+(\[Alpha]h2 xf-xf^2),
    {xh,0,10},{xf,0,10},Contours->250],
  ContourPlot[xf-(\[Alpha]h1-xh)==0,{xh,0,10},{xf,0,10}]]


Bob Hanlon

---- kristoph <kristophs.post@web.de> wrote: 

=============
Hi,

I would like to plot a contour plot of two different functions. One of
them is a line in the contour plot. The problem I have is that the
plot only shows the line and only ONE curve of the other function.
What I would like to have is a usual contour plot of the function and
the line of the other function. Below you find the code of the contour
plot:

\[Alpha]h1 = 16;
\[Alpha]h2 = 16;
ContourPlot[{(\[Alpha]h1 xh - xh^2) + (\[Alpha]h2 xf - xf^2),
  xf - (\[Alpha]h1 - xh) == 0}, {xh, 0, 10}, {xf, 0, 10},
 Contours -> 250]

Here is the contour plot of the first function only. It would be great
to have this plot with only one line expressed by the function  xf - (\
[Alpha]h1 - xh) == 0.

ContourPlot[{(\[Alpha]h1 xh - xh^2) + (\[Alpha]h2 xf - xf^2)}, {xh, 0,
   10}, {xf, 0, 10}, Contours -> 250]

Thanks for help,
Kris


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web