How to fill color between function and circle in the following?How to use fraction for PSTricks's coordinates?How to fill a region bounded by a character and a graphic object with a color?How does uput determine the touching point between the object box and the hypothetical circle?How to fill color in graph?Fill area between two distinct curvesHow to combine and simplify the following PostScript operators?TikZ - How to draw the followingColor gradient fill between three corners of a triangleLaTeX Trellis Diagrams for STBCsIn PStricks, what is the difference between psforeach and multido in the following?How to use eofill in the following case?

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?

Biological Blimps: Propulsion

How to explain what's wrong with this application of the chain rule?

Has any country ever had 2 former presidents in jail simultaneously?

Why can Carol Danvers change her suit colours in the first place?

How could a planet have erratic days?

Why is it that I can sometimes guess the next note?

The screen of my macbook suddenly broken down how can I do to recover

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

Store Credit Card Information in Password Manager?

Should I outline or discovery write my stories?

250 Floor Tower

Should I stop contributing to retirement accounts?

Is this toilet slogan correct usage of the English language?

Are the IPv6 address space and IPv4 address space completely disjoint?

The IT department bottlenecks progress. How should I handle this?

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

What is this cable/device?

What should you do when eye contact makes your subordinate uncomfortable?

Problem with TransformedDistribution

Are paving bricks differently sized for sand bedding vs mortar bedding?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

What prevents the use of a multi-segment ILS for non-straight approaches?

Removing files under particular conditions (number of files, file age)



How to fill color between function and circle in the following?


How to use fraction for PSTricks's coordinates?How to fill a region bounded by a character and a graphic object with a color?How does uput determine the touching point between the object box and the hypothetical circle?How to fill color in graph?Fill area between two distinct curvesHow to combine and simplify the following PostScript operators?TikZ - How to draw the followingColor gradient fill between three corners of a triangleLaTeX Trellis Diagrams for STBCsIn PStricks, what is the difference between psforeach and multido in the following?How to use eofill in the following case?













5















documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,pst-func
begindocument
beginpspicture(-3,-1.5)(3,4)
defFx^3/3 - x + 2/3
psaxes->(0,0)(-3,-1)(3,4)
psplot[algebraic]-2.52.5F

pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
pstLineAB[nodesepA=-3cm]NM

pssetPointSymbol=o,algebraic
pstInterFLFNM2A
pstInterFL[PosAngle=90]FNM0A1
pstInterFLFNM-2A2
pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
code psGetNodeCenterA psGetNodeCenterA1
psplotA.xA1.xF
psline(A1)(A)

pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
code psGetNodeCenterA1 psGetNodeCenterA2
psplotA1.xA2.xF
psline(A1)(A2)

endpspicture
enddocument


enter image description here



Question 1:



" opacity=.4 " can be loaded within this case?



How to the plot is located above color background ?



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
begindocument
beginpspicture(-3,-3)(3,3)
defF2*cos(x)
pssetalgebraic
pstGeonode(0.3,-1)O(2,.5)M
ncline[linecolor=blue, arrowscale=2]->OM
psaxes->(0,0)(-3,-3)(3,3.5)
psplot[linewidth=1.5pt]-3.143.14F
pstCircleOA[PointSymbol=*]OM
pssetPointSymbol=o
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFCFOM-2N2
%pstInterFCFOM2N3
%pscustom[fillstyle=solid,fillcolor=blue!30,linestyle=none]%
%code psGetNodeCenterN0 psGetNodeCenterN1
%psplotN0.xN1.xF
%pstArcOABON1.xN0.x
%
endpspicture
enddocument


enter image description here



Question 2 : How to fill color it?



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3

psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[0](C1)$C1$
uput[0](C2)$C2$
uput[0](C3)$C3$
uput[0](C4)$C4$

psclippscustompsarcAB(O)(C3)(C4) psplot40x^2/2-3
psframe[fillstyle=solid,fillcolor=blue!50](0,-3)(4,3)
endpsclip
endpspicture*
enddocument


![enter image description here



Final edited... DONE!



Using saveNodeCoors



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3
psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[-10](C1)$C1$
uput[40](C2)$C2$
uput[120](C3)$C3$
uput[120](C4)$C4$
%C3C4
pscustom[fillstyle=solid,fillcolor=blue!50]%
psarcAB(O)(C3)(C4)
psplotN-C4.xN-C3.xx^2/2-3
%C2C3
pscustom[fillstyle=solid,fillcolor=red!50]%
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C2.xx^2/2-3
%C1C2C3C4
pscustom[fillstyle=vlines]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C4.xx^2/2-3
psplotN-C4.xN-C1.xsqrt(x+3)

pscustom[fillstyle=solid,fillcolor=orange!50,opacity=.4]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.x-3-sqrt(x+3)
psplot-3N-C1.xsqrt(x+3)

endpspicture*
enddocument


enter image description here



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,
defF2*cos(x)
begindocument
beginpspicture[showgrid,algebraic,saveNodeCoors,opacity=0.5](-4,-4)(4,3)
pnodes(.3,-1)O(2,.5)M

pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFC[PosAngle=135]FOM-2N3
pstInterFC[PosAngle=45]FOM3N4
%%N0N1
pscustom[fillstyle=solid,fillcolor=red]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N0.xF
%%N0N4
pscustom[fillstyle=solid,fillcolor=blue]%
psarcnAB(O)(N0)(N4)%
psplotN-N4.xN-N0.xF
%%N1N3
pscustom[fillstyle=solid,fillcolor=yellow]%
psarcAB(O)(N1)(N3)%
psplotN-N3.xN-N1.xF
%N1N2N3N4
pscustom[fillstyle=vlines]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N3.xF
psarcAB(O)(N3)(N4)
psplotN-N4.xN-N0.xF

pstCircleOAOM
psplot-33F
endpspicture
enddocument


enter image description here



documentclass[border=5pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,amsmath

begindocument
beginpspicture[algebraic,saveNodeCoors](-1.5,-1.5)(5,5)
deffx-1+4/((x^2+1)^2)
defg4*x-x^2+4/((x^2+1)^2)
psplot[plotstyle=curve]-14f
psplot[plotstyle=curve]-.654g
%%
psaxes->(0,0)(-1,-1)(4.5,4.5)
pssetPointSymbol=none,PointName=none
pstInterFFfg0M_1
pstInterFFfg3.2M_0
%%
pscustom[fillstyle=hlines]%
psplot1N-M_0.xf
psplotN-M_0.x1g
%%
uput[0](2,1)$C_f$
uput[0](2,4.3)$C_f$
endpspicture
enddocument


enter image description here










share|improve this question
























  • Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

    – The Inventor of God
    Feb 7 at 16:15















5















documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,pst-func
begindocument
beginpspicture(-3,-1.5)(3,4)
defFx^3/3 - x + 2/3
psaxes->(0,0)(-3,-1)(3,4)
psplot[algebraic]-2.52.5F

pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
pstLineAB[nodesepA=-3cm]NM

pssetPointSymbol=o,algebraic
pstInterFLFNM2A
pstInterFL[PosAngle=90]FNM0A1
pstInterFLFNM-2A2
pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
code psGetNodeCenterA psGetNodeCenterA1
psplotA.xA1.xF
psline(A1)(A)

pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
code psGetNodeCenterA1 psGetNodeCenterA2
psplotA1.xA2.xF
psline(A1)(A2)

endpspicture
enddocument


enter image description here



Question 1:



" opacity=.4 " can be loaded within this case?



How to the plot is located above color background ?



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
begindocument
beginpspicture(-3,-3)(3,3)
defF2*cos(x)
pssetalgebraic
pstGeonode(0.3,-1)O(2,.5)M
ncline[linecolor=blue, arrowscale=2]->OM
psaxes->(0,0)(-3,-3)(3,3.5)
psplot[linewidth=1.5pt]-3.143.14F
pstCircleOA[PointSymbol=*]OM
pssetPointSymbol=o
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFCFOM-2N2
%pstInterFCFOM2N3
%pscustom[fillstyle=solid,fillcolor=blue!30,linestyle=none]%
%code psGetNodeCenterN0 psGetNodeCenterN1
%psplotN0.xN1.xF
%pstArcOABON1.xN0.x
%
endpspicture
enddocument


enter image description here



Question 2 : How to fill color it?



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3

psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[0](C1)$C1$
uput[0](C2)$C2$
uput[0](C3)$C3$
uput[0](C4)$C4$

psclippscustompsarcAB(O)(C3)(C4) psplot40x^2/2-3
psframe[fillstyle=solid,fillcolor=blue!50](0,-3)(4,3)
endpsclip
endpspicture*
enddocument


![enter image description here



Final edited... DONE!



Using saveNodeCoors



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3
psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[-10](C1)$C1$
uput[40](C2)$C2$
uput[120](C3)$C3$
uput[120](C4)$C4$
%C3C4
pscustom[fillstyle=solid,fillcolor=blue!50]%
psarcAB(O)(C3)(C4)
psplotN-C4.xN-C3.xx^2/2-3
%C2C3
pscustom[fillstyle=solid,fillcolor=red!50]%
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C2.xx^2/2-3
%C1C2C3C4
pscustom[fillstyle=vlines]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C4.xx^2/2-3
psplotN-C4.xN-C1.xsqrt(x+3)

pscustom[fillstyle=solid,fillcolor=orange!50,opacity=.4]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.x-3-sqrt(x+3)
psplot-3N-C1.xsqrt(x+3)

endpspicture*
enddocument


enter image description here



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,
defF2*cos(x)
begindocument
beginpspicture[showgrid,algebraic,saveNodeCoors,opacity=0.5](-4,-4)(4,3)
pnodes(.3,-1)O(2,.5)M

pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFC[PosAngle=135]FOM-2N3
pstInterFC[PosAngle=45]FOM3N4
%%N0N1
pscustom[fillstyle=solid,fillcolor=red]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N0.xF
%%N0N4
pscustom[fillstyle=solid,fillcolor=blue]%
psarcnAB(O)(N0)(N4)%
psplotN-N4.xN-N0.xF
%%N1N3
pscustom[fillstyle=solid,fillcolor=yellow]%
psarcAB(O)(N1)(N3)%
psplotN-N3.xN-N1.xF
%N1N2N3N4
pscustom[fillstyle=vlines]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N3.xF
psarcAB(O)(N3)(N4)
psplotN-N4.xN-N0.xF

pstCircleOAOM
psplot-33F
endpspicture
enddocument


enter image description here



documentclass[border=5pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,amsmath

begindocument
beginpspicture[algebraic,saveNodeCoors](-1.5,-1.5)(5,5)
deffx-1+4/((x^2+1)^2)
defg4*x-x^2+4/((x^2+1)^2)
psplot[plotstyle=curve]-14f
psplot[plotstyle=curve]-.654g
%%
psaxes->(0,0)(-1,-1)(4.5,4.5)
pssetPointSymbol=none,PointName=none
pstInterFFfg0M_1
pstInterFFfg3.2M_0
%%
pscustom[fillstyle=hlines]%
psplot1N-M_0.xf
psplotN-M_0.x1g
%%
uput[0](2,1)$C_f$
uput[0](2,4.3)$C_f$
endpspicture
enddocument


enter image description here










share|improve this question
























  • Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

    – The Inventor of God
    Feb 7 at 16:15













5












5








5








documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,pst-func
begindocument
beginpspicture(-3,-1.5)(3,4)
defFx^3/3 - x + 2/3
psaxes->(0,0)(-3,-1)(3,4)
psplot[algebraic]-2.52.5F

pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
pstLineAB[nodesepA=-3cm]NM

pssetPointSymbol=o,algebraic
pstInterFLFNM2A
pstInterFL[PosAngle=90]FNM0A1
pstInterFLFNM-2A2
pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
code psGetNodeCenterA psGetNodeCenterA1
psplotA.xA1.xF
psline(A1)(A)

pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
code psGetNodeCenterA1 psGetNodeCenterA2
psplotA1.xA2.xF
psline(A1)(A2)

endpspicture
enddocument


enter image description here



Question 1:



" opacity=.4 " can be loaded within this case?



How to the plot is located above color background ?



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
begindocument
beginpspicture(-3,-3)(3,3)
defF2*cos(x)
pssetalgebraic
pstGeonode(0.3,-1)O(2,.5)M
ncline[linecolor=blue, arrowscale=2]->OM
psaxes->(0,0)(-3,-3)(3,3.5)
psplot[linewidth=1.5pt]-3.143.14F
pstCircleOA[PointSymbol=*]OM
pssetPointSymbol=o
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFCFOM-2N2
%pstInterFCFOM2N3
%pscustom[fillstyle=solid,fillcolor=blue!30,linestyle=none]%
%code psGetNodeCenterN0 psGetNodeCenterN1
%psplotN0.xN1.xF
%pstArcOABON1.xN0.x
%
endpspicture
enddocument


enter image description here



Question 2 : How to fill color it?



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3

psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[0](C1)$C1$
uput[0](C2)$C2$
uput[0](C3)$C3$
uput[0](C4)$C4$

psclippscustompsarcAB(O)(C3)(C4) psplot40x^2/2-3
psframe[fillstyle=solid,fillcolor=blue!50](0,-3)(4,3)
endpsclip
endpspicture*
enddocument


![enter image description here



Final edited... DONE!



Using saveNodeCoors



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3
psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[-10](C1)$C1$
uput[40](C2)$C2$
uput[120](C3)$C3$
uput[120](C4)$C4$
%C3C4
pscustom[fillstyle=solid,fillcolor=blue!50]%
psarcAB(O)(C3)(C4)
psplotN-C4.xN-C3.xx^2/2-3
%C2C3
pscustom[fillstyle=solid,fillcolor=red!50]%
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C2.xx^2/2-3
%C1C2C3C4
pscustom[fillstyle=vlines]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C4.xx^2/2-3
psplotN-C4.xN-C1.xsqrt(x+3)

pscustom[fillstyle=solid,fillcolor=orange!50,opacity=.4]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.x-3-sqrt(x+3)
psplot-3N-C1.xsqrt(x+3)

endpspicture*
enddocument


enter image description here



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,
defF2*cos(x)
begindocument
beginpspicture[showgrid,algebraic,saveNodeCoors,opacity=0.5](-4,-4)(4,3)
pnodes(.3,-1)O(2,.5)M

pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFC[PosAngle=135]FOM-2N3
pstInterFC[PosAngle=45]FOM3N4
%%N0N1
pscustom[fillstyle=solid,fillcolor=red]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N0.xF
%%N0N4
pscustom[fillstyle=solid,fillcolor=blue]%
psarcnAB(O)(N0)(N4)%
psplotN-N4.xN-N0.xF
%%N1N3
pscustom[fillstyle=solid,fillcolor=yellow]%
psarcAB(O)(N1)(N3)%
psplotN-N3.xN-N1.xF
%N1N2N3N4
pscustom[fillstyle=vlines]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N3.xF
psarcAB(O)(N3)(N4)
psplotN-N4.xN-N0.xF

pstCircleOAOM
psplot-33F
endpspicture
enddocument


enter image description here



documentclass[border=5pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,amsmath

begindocument
beginpspicture[algebraic,saveNodeCoors](-1.5,-1.5)(5,5)
deffx-1+4/((x^2+1)^2)
defg4*x-x^2+4/((x^2+1)^2)
psplot[plotstyle=curve]-14f
psplot[plotstyle=curve]-.654g
%%
psaxes->(0,0)(-1,-1)(4.5,4.5)
pssetPointSymbol=none,PointName=none
pstInterFFfg0M_1
pstInterFFfg3.2M_0
%%
pscustom[fillstyle=hlines]%
psplot1N-M_0.xf
psplotN-M_0.x1g
%%
uput[0](2,1)$C_f$
uput[0](2,4.3)$C_f$
endpspicture
enddocument


enter image description here










share|improve this question
















documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,pst-func
begindocument
beginpspicture(-3,-1.5)(3,4)
defFx^3/3 - x + 2/3
psaxes->(0,0)(-3,-1)(3,4)
psplot[algebraic]-2.52.5F

pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
pstLineAB[nodesepA=-3cm]NM

pssetPointSymbol=o,algebraic
pstInterFLFNM2A
pstInterFL[PosAngle=90]FNM0A1
pstInterFLFNM-2A2
pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
code psGetNodeCenterA psGetNodeCenterA1
psplotA.xA1.xF
psline(A1)(A)

pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
code psGetNodeCenterA1 psGetNodeCenterA2
psplotA1.xA2.xF
psline(A1)(A2)

endpspicture
enddocument


enter image description here



Question 1:



" opacity=.4 " can be loaded within this case?



How to the plot is located above color background ?



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
begindocument
beginpspicture(-3,-3)(3,3)
defF2*cos(x)
pssetalgebraic
pstGeonode(0.3,-1)O(2,.5)M
ncline[linecolor=blue, arrowscale=2]->OM
psaxes->(0,0)(-3,-3)(3,3.5)
psplot[linewidth=1.5pt]-3.143.14F
pstCircleOA[PointSymbol=*]OM
pssetPointSymbol=o
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFCFOM-2N2
%pstInterFCFOM2N3
%pscustom[fillstyle=solid,fillcolor=blue!30,linestyle=none]%
%code psGetNodeCenterN0 psGetNodeCenterN1
%psplotN0.xN1.xF
%pstArcOABON1.xN0.x
%
endpspicture
enddocument


enter image description here



Question 2 : How to fill color it?



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3

psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[0](C1)$C1$
uput[0](C2)$C2$
uput[0](C3)$C3$
uput[0](C4)$C4$

psclippscustompsarcAB(O)(C3)(C4) psplot40x^2/2-3
psframe[fillstyle=solid,fillcolor=blue!50](0,-3)(4,3)
endpsclip
endpspicture*
enddocument


![enter image description here



Final edited... DONE!



Using saveNodeCoors



documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3
psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[-10](C1)$C1$
uput[40](C2)$C2$
uput[120](C3)$C3$
uput[120](C4)$C4$
%C3C4
pscustom[fillstyle=solid,fillcolor=blue!50]%
psarcAB(O)(C3)(C4)
psplotN-C4.xN-C3.xx^2/2-3
%C2C3
pscustom[fillstyle=solid,fillcolor=red!50]%
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C2.xx^2/2-3
%C1C2C3C4
pscustom[fillstyle=vlines]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.xN-C3.x-sqrt(x+3)
psplotN-C3.xN-C4.xx^2/2-3
psplotN-C4.xN-C1.xsqrt(x+3)

pscustom[fillstyle=solid,fillcolor=orange!50,opacity=.4]%
psplotN-C1.xN-C2.xx^2/2-3
psplotN-C2.x-3-sqrt(x+3)
psplot-3N-C1.xsqrt(x+3)

endpspicture*
enddocument


enter image description here



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,
defF2*cos(x)
begindocument
beginpspicture[showgrid,algebraic,saveNodeCoors,opacity=0.5](-4,-4)(4,3)
pnodes(.3,-1)O(2,.5)M

pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pstInterFC[PosAngle=135]FOM-2N3
pstInterFC[PosAngle=45]FOM3N4
%%N0N1
pscustom[fillstyle=solid,fillcolor=red]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N0.xF
%%N0N4
pscustom[fillstyle=solid,fillcolor=blue]%
psarcnAB(O)(N0)(N4)%
psplotN-N4.xN-N0.xF
%%N1N3
pscustom[fillstyle=solid,fillcolor=yellow]%
psarcAB(O)(N1)(N3)%
psplotN-N3.xN-N1.xF
%N1N2N3N4
pscustom[fillstyle=vlines]%
psarcAB(O)(N0)(N1)%
psplotN-N1.xN-N3.xF
psarcAB(O)(N3)(N4)
psplotN-N4.xN-N0.xF

pstCircleOAOM
psplot-33F
endpspicture
enddocument


enter image description here



documentclass[border=5pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot,amsmath

begindocument
beginpspicture[algebraic,saveNodeCoors](-1.5,-1.5)(5,5)
deffx-1+4/((x^2+1)^2)
defg4*x-x^2+4/((x^2+1)^2)
psplot[plotstyle=curve]-14f
psplot[plotstyle=curve]-.654g
%%
psaxes->(0,0)(-1,-1)(4.5,4.5)
pssetPointSymbol=none,PointName=none
pstInterFFfg0M_1
pstInterFFfg3.2M_0
%%
pscustom[fillstyle=hlines]%
psplot1N-M_0.xf
psplotN-M_0.x1g
%%
uput[0](2,1)$C_f$
uput[0](2,4.3)$C_f$
endpspicture
enddocument


enter image description here







pstricks






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 mins ago







chishimutoji

















asked Feb 1 at 15:52









chishimutojichishimutoji

7331323




7331323












  • Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

    – The Inventor of God
    Feb 7 at 16:15

















  • Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

    – The Inventor of God
    Feb 7 at 16:15
















Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

– The Inventor of God
Feb 7 at 16:15





Don't forget, there is also a key NodeCoorPrefix to change the prefix N.

– The Inventor of God
Feb 7 at 16:15










4 Answers
4






active

oldest

votes


















3














Important theory:



pscustom can contain several child macros inside. In our example, the children are psarc and psplot. The only optional arguments that can take effect are those belong to pscustom. More precisely, any arguments defined in the children macros will be discarded.



As a result, the optional argument origin that is needed by psarc must be moved to pscustom. However, psplot put inside pscustom does not need the effect of origin so we must give a reverse translation to make psplot happy!



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
defF2*cos(x)
begindocument
beginpspicture[showgrid,saveNodeCoors,algebraic](-4,-4)(4,3)
pstGeonode(.3,-1)O(2,.5)M
pstCircleOAOM
psplot-33F
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
pscustom[fillstyle=solid,fillcolor=red,opacity=0.25,origin=O]

psarc[linecolor=red](O)!N-M.y N-O.y sub 2 exp N-M.x N-O.x sub 2 exp add sqrt(N0)(N1)
translate(!N-O.x neg N-O.y neg)
psplotN-N1.xN-N0.xF

endpspicture
enddocument


enter image description here






share|improve this answer

























  • Done. This question was closed by me. :-) Thank for your PostScript code..

    – chishimutoji
    Feb 7 at 9:04


















4














documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
defF2*cos(x)
begindocument
beginpspicture[showgrid,algebraic](-4,-4)(4,3)
pstGeonode(.3,-1)O(2,.5)M
pstCircleOAOM
psplot-33F
pstInterFC[PosAngle=45]FOM1N0
pstInterFC[PosAngle=135]FOM-1N1
psclippscustompsarcAB(O)(N0)(N1)psplot-22F
psframe[fillstyle=solid,fillcolor=red,opacity=0.25](-2,0)(2,2)
endpsclip
endpspicture
enddocument


enter image description here



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepst-eucl,pst-plot
begindocument
beginpspicture(-3,-1.5)(3,4)
defFx^3/3 - x + 2/3
psaxes->(0,0)(-3,-1)(3,4)
pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
pssetalgebraic
pstInterFLFNM2A
pstInterFL[PosAngle=90]FNM0A1
pstInterFLFNM-2A2
pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
psplotA.xA1.x[psGetNodeCenterA psGetNodeCenterA1]F
pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
psplotA1.xA2.x[psGetNodeCenterA1 psGetNodeCenterA2]F
pstLineAB[nodesepA=-3cm]NM
psdots[fillcolor=white,fillstyle=solid](A1)(A2)(M)
psplot[algebraic]-2.52.5F
endpspicture
enddocument


enter image description here






share|improve this answer

























  • Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

    – chishimutoji
    Feb 2 at 9:43






  • 1





    Using auto-pst-pdf and standalone makes no sense!

    – Herbert
    Feb 2 at 12:20











  • <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

    – chishimutoji
    Feb 3 at 2:28












  • That is an experimental feature and works only in some special cases!

    – Herbert
    Feb 3 at 9:27


















3














documentclass[border=15pt]standalone
usepackagepst-plot,pst-eucl
begindocument
beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)
parametricplot-44t^2-3
psplot-34x^2/2-3
pstInterFFx^2/2-3sqrt(x+3)-2.9C1
pstInterFFx^2/2-3-sqrt(x+3)-2.9C2
pstInterFFx^2/2-3-sqrt(x+3)1C3
pstTriangleOC[linestyle=dotted]C1C2C3
pstInterFCx^2/2-3OC_OC33C4
pscustom[fillstyle=solid,fillcolor=blue!50,liftpen=2]%
psplotC3.xC4.x[psGetNodeCenterC3psGetNodeCenterC4]x^2/2-3
psarcnAB(OC_O)(C4)(C3)

endpspicture*
enddocument


enter image description here






share|improve this answer























  • Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

    – chishimutoji
    Feb 5 at 14:07












  • stop these endless expanding of your original question! Ask a new one!

    – Herbert
    Feb 7 at 7:19












  • Done. This question was closed by me. :-) Thank for -sqrt(x+3).

    – chishimutoji
    Feb 7 at 9:03


















2














documentclass[border=15pt]standalone
usepackagepst-intersect,pst-plot,pst-eucl
begindocument
beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
pssetalgebraic,plotstyle=curve,linewidth=1.2pt
psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

pssavepathAparametricplot-44t^2-3
pssavepathBpsplot-44x^2/2-3

psintersect[name=C,showpoints]AB

pstTriangleOC[linestyle=none]C1C2C3
pnode(OC_O)O

psarcAB(O)(C3)(C4)
uput[0](C1)$C1$
uput[0](C2)$C2$
uput[0](C3)$C3$
uput[0](C4)$C4$


pscustom[fillstyle=solid,fillcolor=blue!50,origin=O]%
psarc(O)!N-C3.y N-O.y sub 2 exp N-C3.x N-O.x sub 2 exp add sqrt(C3)(C4)
translate(!N-O.x neg N-O.y neg)
psplotN-C4.xN-C3.xx^2/2-3

endpspicture*
enddocument


enter image description here






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    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%2ftex.stackexchange.com%2fquestions%2f472902%2fhow-to-fill-color-between-function-and-circle-in-the-following%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Important theory:



    pscustom can contain several child macros inside. In our example, the children are psarc and psplot. The only optional arguments that can take effect are those belong to pscustom. More precisely, any arguments defined in the children macros will be discarded.



    As a result, the optional argument origin that is needed by psarc must be moved to pscustom. However, psplot put inside pscustom does not need the effect of origin so we must give a reverse translation to make psplot happy!



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,saveNodeCoors,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    pscustom[fillstyle=solid,fillcolor=red,opacity=0.25,origin=O]

    psarc[linecolor=red](O)!N-M.y N-O.y sub 2 exp N-M.x N-O.x sub 2 exp add sqrt(N0)(N1)
    translate(!N-O.x neg N-O.y neg)
    psplotN-N1.xN-N0.xF

    endpspicture
    enddocument


    enter image description here






    share|improve this answer

























    • Done. This question was closed by me. :-) Thank for your PostScript code..

      – chishimutoji
      Feb 7 at 9:04















    3














    Important theory:



    pscustom can contain several child macros inside. In our example, the children are psarc and psplot. The only optional arguments that can take effect are those belong to pscustom. More precisely, any arguments defined in the children macros will be discarded.



    As a result, the optional argument origin that is needed by psarc must be moved to pscustom. However, psplot put inside pscustom does not need the effect of origin so we must give a reverse translation to make psplot happy!



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,saveNodeCoors,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    pscustom[fillstyle=solid,fillcolor=red,opacity=0.25,origin=O]

    psarc[linecolor=red](O)!N-M.y N-O.y sub 2 exp N-M.x N-O.x sub 2 exp add sqrt(N0)(N1)
    translate(!N-O.x neg N-O.y neg)
    psplotN-N1.xN-N0.xF

    endpspicture
    enddocument


    enter image description here






    share|improve this answer

























    • Done. This question was closed by me. :-) Thank for your PostScript code..

      – chishimutoji
      Feb 7 at 9:04













    3












    3








    3







    Important theory:



    pscustom can contain several child macros inside. In our example, the children are psarc and psplot. The only optional arguments that can take effect are those belong to pscustom. More precisely, any arguments defined in the children macros will be discarded.



    As a result, the optional argument origin that is needed by psarc must be moved to pscustom. However, psplot put inside pscustom does not need the effect of origin so we must give a reverse translation to make psplot happy!



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,saveNodeCoors,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    pscustom[fillstyle=solid,fillcolor=red,opacity=0.25,origin=O]

    psarc[linecolor=red](O)!N-M.y N-O.y sub 2 exp N-M.x N-O.x sub 2 exp add sqrt(N0)(N1)
    translate(!N-O.x neg N-O.y neg)
    psplotN-N1.xN-N0.xF

    endpspicture
    enddocument


    enter image description here






    share|improve this answer















    Important theory:



    pscustom can contain several child macros inside. In our example, the children are psarc and psplot. The only optional arguments that can take effect are those belong to pscustom. More precisely, any arguments defined in the children macros will be discarded.



    As a result, the optional argument origin that is needed by psarc must be moved to pscustom. However, psplot put inside pscustom does not need the effect of origin so we must give a reverse translation to make psplot happy!



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,saveNodeCoors,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    pscustom[fillstyle=solid,fillcolor=red,opacity=0.25,origin=O]

    psarc[linecolor=red](O)!N-M.y N-O.y sub 2 exp N-M.x N-O.x sub 2 exp add sqrt(N0)(N1)
    translate(!N-O.x neg N-O.y neg)
    psplotN-N1.xN-N0.xF

    endpspicture
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 2 at 1:21

























    answered Feb 2 at 1:06









    The Inventor of GodThe Inventor of God

    4,95611142




    4,95611142












    • Done. This question was closed by me. :-) Thank for your PostScript code..

      – chishimutoji
      Feb 7 at 9:04

















    • Done. This question was closed by me. :-) Thank for your PostScript code..

      – chishimutoji
      Feb 7 at 9:04
















    Done. This question was closed by me. :-) Thank for your PostScript code..

    – chishimutoji
    Feb 7 at 9:04





    Done. This question was closed by me. :-) Thank for your PostScript code..

    – chishimutoji
    Feb 7 at 9:04











    4














    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    psclippscustompsarcAB(O)(N0)(N1)psplot-22F
    psframe[fillstyle=solid,fillcolor=red,opacity=0.25](-2,0)(2,2)
    endpsclip
    endpspicture
    enddocument


    enter image description here



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    begindocument
    beginpspicture(-3,-1.5)(3,4)
    defFx^3/3 - x + 2/3
    psaxes->(0,0)(-3,-1)(3,4)
    pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
    pssetalgebraic
    pstInterFLFNM2A
    pstInterFL[PosAngle=90]FNM0A1
    pstInterFLFNM-2A2
    pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
    psplotA.xA1.x[psGetNodeCenterA psGetNodeCenterA1]F
    pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
    psplotA1.xA2.x[psGetNodeCenterA1 psGetNodeCenterA2]F
    pstLineAB[nodesepA=-3cm]NM
    psdots[fillcolor=white,fillstyle=solid](A1)(A2)(M)
    psplot[algebraic]-2.52.5F
    endpspicture
    enddocument


    enter image description here






    share|improve this answer

























    • Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

      – chishimutoji
      Feb 2 at 9:43






    • 1





      Using auto-pst-pdf and standalone makes no sense!

      – Herbert
      Feb 2 at 12:20











    • <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

      – chishimutoji
      Feb 3 at 2:28












    • That is an experimental feature and works only in some special cases!

      – Herbert
      Feb 3 at 9:27















    4














    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    psclippscustompsarcAB(O)(N0)(N1)psplot-22F
    psframe[fillstyle=solid,fillcolor=red,opacity=0.25](-2,0)(2,2)
    endpsclip
    endpspicture
    enddocument


    enter image description here



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    begindocument
    beginpspicture(-3,-1.5)(3,4)
    defFx^3/3 - x + 2/3
    psaxes->(0,0)(-3,-1)(3,4)
    pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
    pssetalgebraic
    pstInterFLFNM2A
    pstInterFL[PosAngle=90]FNM0A1
    pstInterFLFNM-2A2
    pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
    psplotA.xA1.x[psGetNodeCenterA psGetNodeCenterA1]F
    pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
    psplotA1.xA2.x[psGetNodeCenterA1 psGetNodeCenterA2]F
    pstLineAB[nodesepA=-3cm]NM
    psdots[fillcolor=white,fillstyle=solid](A1)(A2)(M)
    psplot[algebraic]-2.52.5F
    endpspicture
    enddocument


    enter image description here






    share|improve this answer

























    • Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

      – chishimutoji
      Feb 2 at 9:43






    • 1





      Using auto-pst-pdf and standalone makes no sense!

      – Herbert
      Feb 2 at 12:20











    • <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

      – chishimutoji
      Feb 3 at 2:28












    • That is an experimental feature and works only in some special cases!

      – Herbert
      Feb 3 at 9:27













    4












    4








    4







    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    psclippscustompsarcAB(O)(N0)(N1)psplot-22F
    psframe[fillstyle=solid,fillcolor=red,opacity=0.25](-2,0)(2,2)
    endpsclip
    endpspicture
    enddocument


    enter image description here



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    begindocument
    beginpspicture(-3,-1.5)(3,4)
    defFx^3/3 - x + 2/3
    psaxes->(0,0)(-3,-1)(3,4)
    pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
    pssetalgebraic
    pstInterFLFNM2A
    pstInterFL[PosAngle=90]FNM0A1
    pstInterFLFNM-2A2
    pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
    psplotA.xA1.x[psGetNodeCenterA psGetNodeCenterA1]F
    pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
    psplotA1.xA2.x[psGetNodeCenterA1 psGetNodeCenterA2]F
    pstLineAB[nodesepA=-3cm]NM
    psdots[fillcolor=white,fillstyle=solid](A1)(A2)(M)
    psplot[algebraic]-2.52.5F
    endpspicture
    enddocument


    enter image description here






    share|improve this answer















    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    defF2*cos(x)
    begindocument
    beginpspicture[showgrid,algebraic](-4,-4)(4,3)
    pstGeonode(.3,-1)O(2,.5)M
    pstCircleOAOM
    psplot-33F
    pstInterFC[PosAngle=45]FOM1N0
    pstInterFC[PosAngle=135]FOM-1N1
    psclippscustompsarcAB(O)(N0)(N1)psplot-22F
    psframe[fillstyle=solid,fillcolor=red,opacity=0.25](-2,0)(2,2)
    endpsclip
    endpspicture
    enddocument


    enter image description here



    documentclass[border=15pt,pstricks,12pt]standalone
    usepackagepst-eucl,pst-plot
    begindocument
    beginpspicture(-3,-1.5)(3,4)
    defFx^3/3 - x + 2/3
    psaxes->(0,0)(-3,-1)(3,4)
    pstGeonode[PosAngle=-45,0](0,-.2)N(2.5,1)M
    pssetalgebraic
    pstInterFLFNM2A
    pstInterFL[PosAngle=90]FNM0A1
    pstInterFLFNM-2A2
    pscustom[fillstyle=solid,fillcolor=red,linestyle=none,opacity=.4]%
    psplotA.xA1.x[psGetNodeCenterA psGetNodeCenterA1]F
    pscustom[fillstyle=solid,fillcolor=yellow,linestyle=none,opacity=.4]%
    psplotA1.xA2.x[psGetNodeCenterA1 psGetNodeCenterA2]F
    pstLineAB[nodesepA=-3cm]NM
    psdots[fillcolor=white,fillstyle=solid](A1)(A2)(M)
    psplot[algebraic]-2.52.5F
    endpspicture
    enddocument


    enter image description here







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 2 at 8:47

























    answered Feb 2 at 8:18









    HerbertHerbert

    276k25419732




    276k25419732












    • Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

      – chishimutoji
      Feb 2 at 9:43






    • 1





      Using auto-pst-pdf and standalone makes no sense!

      – Herbert
      Feb 2 at 12:20











    • <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

      – chishimutoji
      Feb 3 at 2:28












    • That is an experimental feature and works only in some special cases!

      – Herbert
      Feb 3 at 9:27

















    • Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

      – chishimutoji
      Feb 2 at 9:43






    • 1





      Using auto-pst-pdf and standalone makes no sense!

      – Herbert
      Feb 2 at 12:20











    • <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

      – chishimutoji
      Feb 3 at 2:28












    • That is an experimental feature and works only in some special cases!

      – Herbert
      Feb 3 at 9:27
















    Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

    – chishimutoji
    Feb 2 at 9:43





    Can you compile it with usepackageauto-pst-pdf and pdflatex.exe -shell-escape -interaction=nonstopmode %.tex ? Does it work normally?

    – chishimutoji
    Feb 2 at 9:43




    1




    1





    Using auto-pst-pdf and standalone makes no sense!

    – Herbert
    Feb 2 at 12:20





    Using auto-pst-pdf and standalone makes no sense!

    – Herbert
    Feb 2 at 12:20













    <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

    – chishimutoji
    Feb 3 at 2:28






    <Off topic> I edited my question. Can you see this problem at tex.stackexchange.com/questions/472492/… . Sorry if I make you being uncomfortable....

    – chishimutoji
    Feb 3 at 2:28














    That is an experimental feature and works only in some special cases!

    – Herbert
    Feb 3 at 9:27





    That is an experimental feature and works only in some special cases!

    – Herbert
    Feb 3 at 9:27











    3














    documentclass[border=15pt]standalone
    usepackagepst-plot,pst-eucl
    begindocument
    beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
    pssetalgebraic,plotstyle=curve,linewidth=1.2pt
    psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)
    parametricplot-44t^2-3
    psplot-34x^2/2-3
    pstInterFFx^2/2-3sqrt(x+3)-2.9C1
    pstInterFFx^2/2-3-sqrt(x+3)-2.9C2
    pstInterFFx^2/2-3-sqrt(x+3)1C3
    pstTriangleOC[linestyle=dotted]C1C2C3
    pstInterFCx^2/2-3OC_OC33C4
    pscustom[fillstyle=solid,fillcolor=blue!50,liftpen=2]%
    psplotC3.xC4.x[psGetNodeCenterC3psGetNodeCenterC4]x^2/2-3
    psarcnAB(OC_O)(C4)(C3)

    endpspicture*
    enddocument


    enter image description here






    share|improve this answer























    • Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

      – chishimutoji
      Feb 5 at 14:07












    • stop these endless expanding of your original question! Ask a new one!

      – Herbert
      Feb 7 at 7:19












    • Done. This question was closed by me. :-) Thank for -sqrt(x+3).

      – chishimutoji
      Feb 7 at 9:03















    3














    documentclass[border=15pt]standalone
    usepackagepst-plot,pst-eucl
    begindocument
    beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
    pssetalgebraic,plotstyle=curve,linewidth=1.2pt
    psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)
    parametricplot-44t^2-3
    psplot-34x^2/2-3
    pstInterFFx^2/2-3sqrt(x+3)-2.9C1
    pstInterFFx^2/2-3-sqrt(x+3)-2.9C2
    pstInterFFx^2/2-3-sqrt(x+3)1C3
    pstTriangleOC[linestyle=dotted]C1C2C3
    pstInterFCx^2/2-3OC_OC33C4
    pscustom[fillstyle=solid,fillcolor=blue!50,liftpen=2]%
    psplotC3.xC4.x[psGetNodeCenterC3psGetNodeCenterC4]x^2/2-3
    psarcnAB(OC_O)(C4)(C3)

    endpspicture*
    enddocument


    enter image description here






    share|improve this answer























    • Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

      – chishimutoji
      Feb 5 at 14:07












    • stop these endless expanding of your original question! Ask a new one!

      – Herbert
      Feb 7 at 7:19












    • Done. This question was closed by me. :-) Thank for -sqrt(x+3).

      – chishimutoji
      Feb 7 at 9:03













    3












    3








    3







    documentclass[border=15pt]standalone
    usepackagepst-plot,pst-eucl
    begindocument
    beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
    pssetalgebraic,plotstyle=curve,linewidth=1.2pt
    psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)
    parametricplot-44t^2-3
    psplot-34x^2/2-3
    pstInterFFx^2/2-3sqrt(x+3)-2.9C1
    pstInterFFx^2/2-3-sqrt(x+3)-2.9C2
    pstInterFFx^2/2-3-sqrt(x+3)1C3
    pstTriangleOC[linestyle=dotted]C1C2C3
    pstInterFCx^2/2-3OC_OC33C4
    pscustom[fillstyle=solid,fillcolor=blue!50,liftpen=2]%
    psplotC3.xC4.x[psGetNodeCenterC3psGetNodeCenterC4]x^2/2-3
    psarcnAB(OC_O)(C4)(C3)

    endpspicture*
    enddocument


    enter image description here






    share|improve this answer













    documentclass[border=15pt]standalone
    usepackagepst-plot,pst-eucl
    begindocument
    beginpspicture*[showgrid](-5.5,-4.5)(5.5,5.5)
    pssetalgebraic,plotstyle=curve,linewidth=1.2pt
    psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)
    parametricplot-44t^2-3
    psplot-34x^2/2-3
    pstInterFFx^2/2-3sqrt(x+3)-2.9C1
    pstInterFFx^2/2-3-sqrt(x+3)-2.9C2
    pstInterFFx^2/2-3-sqrt(x+3)1C3
    pstTriangleOC[linestyle=dotted]C1C2C3
    pstInterFCx^2/2-3OC_OC33C4
    pscustom[fillstyle=solid,fillcolor=blue!50,liftpen=2]%
    psplotC3.xC4.x[psGetNodeCenterC3psGetNodeCenterC4]x^2/2-3
    psarcnAB(OC_O)(C4)(C3)

    endpspicture*
    enddocument


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 5 at 13:54









    HerbertHerbert

    276k25419732




    276k25419732












    • Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

      – chishimutoji
      Feb 5 at 14:07












    • stop these endless expanding of your original question! Ask a new one!

      – Herbert
      Feb 7 at 7:19












    • Done. This question was closed by me. :-) Thank for -sqrt(x+3).

      – chishimutoji
      Feb 7 at 9:03

















    • Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

      – chishimutoji
      Feb 5 at 14:07












    • stop these endless expanding of your original question! Ask a new one!

      – Herbert
      Feb 7 at 7:19












    • Done. This question was closed by me. :-) Thank for -sqrt(x+3).

      – chishimutoji
      Feb 7 at 9:03
















    Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

    – chishimutoji
    Feb 5 at 14:07






    Yes, I see. Both(pst-intersect and pstInterFF) and psarc(n)AB are very wonderful. Thanks. And if I replace psclip...endpsclip by pscustom... (since your code). It works!

    – chishimutoji
    Feb 5 at 14:07














    stop these endless expanding of your original question! Ask a new one!

    – Herbert
    Feb 7 at 7:19






    stop these endless expanding of your original question! Ask a new one!

    – Herbert
    Feb 7 at 7:19














    Done. This question was closed by me. :-) Thank for -sqrt(x+3).

    – chishimutoji
    Feb 7 at 9:03





    Done. This question was closed by me. :-) Thank for -sqrt(x+3).

    – chishimutoji
    Feb 7 at 9:03











    2














    documentclass[border=15pt]standalone
    usepackagepst-intersect,pst-plot,pst-eucl
    begindocument
    beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
    pssetalgebraic,plotstyle=curve,linewidth=1.2pt
    psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

    pssavepathAparametricplot-44t^2-3
    pssavepathBpsplot-44x^2/2-3

    psintersect[name=C,showpoints]AB

    pstTriangleOC[linestyle=none]C1C2C3
    pnode(OC_O)O

    psarcAB(O)(C3)(C4)
    uput[0](C1)$C1$
    uput[0](C2)$C2$
    uput[0](C3)$C3$
    uput[0](C4)$C4$


    pscustom[fillstyle=solid,fillcolor=blue!50,origin=O]%
    psarc(O)!N-C3.y N-O.y sub 2 exp N-C3.x N-O.x sub 2 exp add sqrt(C3)(C4)
    translate(!N-O.x neg N-O.y neg)
    psplotN-C4.xN-C3.xx^2/2-3

    endpspicture*
    enddocument


    enter image description here






    share|improve this answer



























      2














      documentclass[border=15pt]standalone
      usepackagepst-intersect,pst-plot,pst-eucl
      begindocument
      beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
      pssetalgebraic,plotstyle=curve,linewidth=1.2pt
      psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

      pssavepathAparametricplot-44t^2-3
      pssavepathBpsplot-44x^2/2-3

      psintersect[name=C,showpoints]AB

      pstTriangleOC[linestyle=none]C1C2C3
      pnode(OC_O)O

      psarcAB(O)(C3)(C4)
      uput[0](C1)$C1$
      uput[0](C2)$C2$
      uput[0](C3)$C3$
      uput[0](C4)$C4$


      pscustom[fillstyle=solid,fillcolor=blue!50,origin=O]%
      psarc(O)!N-C3.y N-O.y sub 2 exp N-C3.x N-O.x sub 2 exp add sqrt(C3)(C4)
      translate(!N-O.x neg N-O.y neg)
      psplotN-C4.xN-C3.xx^2/2-3

      endpspicture*
      enddocument


      enter image description here






      share|improve this answer

























        2












        2








        2







        documentclass[border=15pt]standalone
        usepackagepst-intersect,pst-plot,pst-eucl
        begindocument
        beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
        pssetalgebraic,plotstyle=curve,linewidth=1.2pt
        psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

        pssavepathAparametricplot-44t^2-3
        pssavepathBpsplot-44x^2/2-3

        psintersect[name=C,showpoints]AB

        pstTriangleOC[linestyle=none]C1C2C3
        pnode(OC_O)O

        psarcAB(O)(C3)(C4)
        uput[0](C1)$C1$
        uput[0](C2)$C2$
        uput[0](C3)$C3$
        uput[0](C4)$C4$


        pscustom[fillstyle=solid,fillcolor=blue!50,origin=O]%
        psarc(O)!N-C3.y N-O.y sub 2 exp N-C3.x N-O.x sub 2 exp add sqrt(C3)(C4)
        translate(!N-O.x neg N-O.y neg)
        psplotN-C4.xN-C3.xx^2/2-3

        endpspicture*
        enddocument


        enter image description here






        share|improve this answer













        documentclass[border=15pt]standalone
        usepackagepst-intersect,pst-plot,pst-eucl
        begindocument
        beginpspicture*[showgrid,saveNodeCoors](-5.5,-4.5)(5.5,5.5)
        pssetalgebraic,plotstyle=curve,linewidth=1.2pt
        psaxes[ticks=none,labels=none,linecolor=gray](0,0)(-5.5,-4.5)(5.5,5.5)

        pssavepathAparametricplot-44t^2-3
        pssavepathBpsplot-44x^2/2-3

        psintersect[name=C,showpoints]AB

        pstTriangleOC[linestyle=none]C1C2C3
        pnode(OC_O)O

        psarcAB(O)(C3)(C4)
        uput[0](C1)$C1$
        uput[0](C2)$C2$
        uput[0](C3)$C3$
        uput[0](C4)$C4$


        pscustom[fillstyle=solid,fillcolor=blue!50,origin=O]%
        psarc(O)!N-C3.y N-O.y sub 2 exp N-C3.x N-O.x sub 2 exp add sqrt(C3)(C4)
        translate(!N-O.x neg N-O.y neg)
        psplotN-C4.xN-C3.xx^2/2-3

        endpspicture*
        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 5 at 13:17









        The Inventor of GodThe Inventor of God

        4,95611142




        4,95611142



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to TeX - LaTeX 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.

            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%2ftex.stackexchange.com%2fquestions%2f472902%2fhow-to-fill-color-between-function-and-circle-in-the-following%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

            How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

            inputenc: Unicode character … not set up for use with LaTeX The Next CEO of Stack OverflowEntering Unicode characters in LaTeXHow to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 characterPackage inputenc Error: Unicode character ² (U+B2)(inputenc) not set up for use with LaTeX. acroI2C[I²C]package inputenc error unicode char (u + 190) not set up for use with latexPackage inputenc Error: Unicode char u8:′ not set up for use with LaTeX. 3′inputenc Error: Unicode char u8: not set up for use with LaTeX with G-BriefPackage Inputenc Error: Unicode char u8: not set up for use with LaTeXPackage inputenc Error: Unicode char ́ (U+301)(inputenc) not set up for use with LaTeX. includePackage inputenc Error: Unicode char ̂ (U+302)(inputenc) not set up for use with LaTeX. … $widehatleft (OA,AA' right )$Package inputenc Error: Unicode char â„¡ (U+2121)(inputenc) not set up for use with LaTeX. printbibliography[heading=bibintoc]Package inputenc Error: Unicode char − (U+2212)(inputenc) not set up for use with LaTeXPackage inputenc Error: Unicode character α (U+3B1) not set up for use with LaTeXPackage inputenc Error: Unicode characterError: ! Package inputenc Error: Unicode char ⊘ (U+2298)(inputenc) not set up for use with LaTeX