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


Groups > comp.soft-sys.math.mathematica > #12813

Filling Plot

From brainiac <brainiac@gmx.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Filling Plot
Date 2012-12-16 10:05 +0000
Message-ID <kak6dc$k4a$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


Hi,

I wanted to Fill the space between a function and the y-axis, but i was only able to fill the positiv value of the function. Is it possible to fill the imaginary part of the function somehow?

Show[RegionPlot[4 > y > Sqrt[x^2 - 9] && x > 0, {x, 3, 5}, {y, 0, 5},
  
  PlotStyle -> Green, BoundaryStyle -> None, Axes -> True, 
  Frame -> False, AxesLabel -> {x, y},
  AxesStyle -> Arrowheads[0.02], AspectRatio -> Automatic, 
  ImageSize -> 600, PlotRange -> {{0, 5}, {0, 5}}],
 
 Plot[Sqrt[x^2 - 9], {x, 0, 5}, PlotStyle -> {Red, Thick}], 
 Graphics[{Text[
    Style["\!\(\*FormBox[\(f(x) = \
\(TraditionalForm\`\(TraditionalForm\`\*SqrtBox[\(\*SuperscriptBox[\(\
x\), \(2\)] - 9\)]\)\)\),
TraditionalForm]\)", Large, Red, Bold], {3.4, 3}]}], 
 Graphics[{Text[
    Style["Rotationsfläche", Large, Yellow, Bold], {1.5, 2}]}], 
 ListLinePlot[{{0, 4}, {5, 4}}, PlotStyle -> {Black}]]

with best regards

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Filling Plot brainiac <brainiac@gmx.net> - 2012-12-16 10:05 +0000

csiph-web