Message Boards Message Boards

0
|
13195 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Fill Area between Two ListPlot Curves, Y-Axis Reversed

Posted 10 years ago
CaliperPlot :=  ListPlot[ {CurvaCalipper, CurvaBs}, 
      FrameStyle -> Gray,   FrameLabel -> "CaliperPlot", PlotStyle -> {Red, Black}, 
      DataRange -> {7, 10}, PlotStyle -> PointSize[.001],   
      PlotRange -> {{7, 10}, {-6000, -5300}}, AxesOrigin -> {7, -5300}, 
      Ticks -> {Automatic,  Function[{mn, mx},   Table[{i, -i, {0.02, 0}}, {i, N@FindDivisions[{mn, mx}, 20]}]]},   
      AspectRatio -> 5/1,
      Joined -> True, ImageSize -> Large, AxesLabel -> {"inch", "Mts"}, 
      Filling -> Axis, FillingStyle -> {Orange}]

the CurvaCalipper and CurvaBs Coming from "CVS", the problem when I'm trying to fill the area there is not working.

regards

I could not see the datasets, but I suggest that you make two changes in your function:

(a) Change ListPlot to ListLinePLot;

(b1) To fill the area between the curves and the horizontal axis, add the following option to ListLinePLot:

Filling -> Axis

(b2) To fill the area between the two curves, add the following option to ListLinePLot:

Filling -> {1 -> {2}}
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract