A Problem in Running Pspicture Environment











up vote
2
down vote

favorite












My problem is: I drew a picture in Latexdraw software and when I run the latex code of my picture in my editor, lots of errors made. I use TexLive 2017 and my editor is bidiTexmaker. My code is:



 documentclass[12pt]{article}   

usepackage{amsmath,verbatim,epsfig,graphicx,amssymb}
usepackage[usenames,dvipsnames]{pstricks}
usepackage{helvet}
usepackage{pst-grad}
usepackage{pst-plot}

begin{document}

begin{figure}[h]
begin{pspicture}(0,-1.212)(3.07325,1.212)
definecolor{color509}{rgb}{0.2,0.2,0.2}
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(0.06625,0.6)(0.88625,0.6)
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
psframe[linewidth=0.024,dimen=outer](2.04625,1.02)(0.88625,0.2)
psline[linewidth=0.024cm](2.86625,1.2)(2.86625,0.0)
psline[linewidth=0.024cm](0.06625,1.2)(0.06625,0.0)
psdots[dotsize=0.374,dotstyle=oplus](2.86625,0.6)
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(2.06625,0.6)(2.66625,0.6)
psline[linewidth=0.024cm,linecolor=color509](0.06625,0.0)(2.86625,-1.2)
psline[linewidth=0.024cm,linecolor=color509](2.86625,0.0)(0.06625,-1.2)
end{pspicture}
end{figure}

end{document}


The picture of errors are:



enter image description here



I would very much appreciate any assistance you can offer me in this question.



Edition: I want to ask you to guide to improve the code until that the picture inside an ellipse as follows. Thanks



enter image description here










share|improve this question




















  • 2




    use xelatex or latex-dvips-ps2pdf
    – Artificial Stupidity
    Dec 3 at 19:58










  • @ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
    – user0410
    Dec 3 at 20:01








  • 1




    Well, you set linecolor=... It's used in your code.
    – Bernard
    Dec 3 at 20:56










  • @Bernard You right. I got it. Thanks
    – user0410
    Dec 3 at 21:25










  • These extravagant coordinates come from Latex Draw?
    – Bernard
    Dec 3 at 21:28















up vote
2
down vote

favorite












My problem is: I drew a picture in Latexdraw software and when I run the latex code of my picture in my editor, lots of errors made. I use TexLive 2017 and my editor is bidiTexmaker. My code is:



 documentclass[12pt]{article}   

usepackage{amsmath,verbatim,epsfig,graphicx,amssymb}
usepackage[usenames,dvipsnames]{pstricks}
usepackage{helvet}
usepackage{pst-grad}
usepackage{pst-plot}

begin{document}

begin{figure}[h]
begin{pspicture}(0,-1.212)(3.07325,1.212)
definecolor{color509}{rgb}{0.2,0.2,0.2}
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(0.06625,0.6)(0.88625,0.6)
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
psframe[linewidth=0.024,dimen=outer](2.04625,1.02)(0.88625,0.2)
psline[linewidth=0.024cm](2.86625,1.2)(2.86625,0.0)
psline[linewidth=0.024cm](0.06625,1.2)(0.06625,0.0)
psdots[dotsize=0.374,dotstyle=oplus](2.86625,0.6)
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(2.06625,0.6)(2.66625,0.6)
psline[linewidth=0.024cm,linecolor=color509](0.06625,0.0)(2.86625,-1.2)
psline[linewidth=0.024cm,linecolor=color509](2.86625,0.0)(0.06625,-1.2)
end{pspicture}
end{figure}

end{document}


The picture of errors are:



enter image description here



I would very much appreciate any assistance you can offer me in this question.



Edition: I want to ask you to guide to improve the code until that the picture inside an ellipse as follows. Thanks



enter image description here










share|improve this question




















  • 2




    use xelatex or latex-dvips-ps2pdf
    – Artificial Stupidity
    Dec 3 at 19:58










  • @ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
    – user0410
    Dec 3 at 20:01








  • 1




    Well, you set linecolor=... It's used in your code.
    – Bernard
    Dec 3 at 20:56










  • @Bernard You right. I got it. Thanks
    – user0410
    Dec 3 at 21:25










  • These extravagant coordinates come from Latex Draw?
    – Bernard
    Dec 3 at 21:28













up vote
2
down vote

favorite









up vote
2
down vote

favorite











My problem is: I drew a picture in Latexdraw software and when I run the latex code of my picture in my editor, lots of errors made. I use TexLive 2017 and my editor is bidiTexmaker. My code is:



 documentclass[12pt]{article}   

usepackage{amsmath,verbatim,epsfig,graphicx,amssymb}
usepackage[usenames,dvipsnames]{pstricks}
usepackage{helvet}
usepackage{pst-grad}
usepackage{pst-plot}

begin{document}

begin{figure}[h]
begin{pspicture}(0,-1.212)(3.07325,1.212)
definecolor{color509}{rgb}{0.2,0.2,0.2}
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(0.06625,0.6)(0.88625,0.6)
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
psframe[linewidth=0.024,dimen=outer](2.04625,1.02)(0.88625,0.2)
psline[linewidth=0.024cm](2.86625,1.2)(2.86625,0.0)
psline[linewidth=0.024cm](0.06625,1.2)(0.06625,0.0)
psdots[dotsize=0.374,dotstyle=oplus](2.86625,0.6)
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(2.06625,0.6)(2.66625,0.6)
psline[linewidth=0.024cm,linecolor=color509](0.06625,0.0)(2.86625,-1.2)
psline[linewidth=0.024cm,linecolor=color509](2.86625,0.0)(0.06625,-1.2)
end{pspicture}
end{figure}

end{document}


The picture of errors are:



enter image description here



I would very much appreciate any assistance you can offer me in this question.



Edition: I want to ask you to guide to improve the code until that the picture inside an ellipse as follows. Thanks



enter image description here










share|improve this question















My problem is: I drew a picture in Latexdraw software and when I run the latex code of my picture in my editor, lots of errors made. I use TexLive 2017 and my editor is bidiTexmaker. My code is:



 documentclass[12pt]{article}   

usepackage{amsmath,verbatim,epsfig,graphicx,amssymb}
usepackage[usenames,dvipsnames]{pstricks}
usepackage{helvet}
usepackage{pst-grad}
usepackage{pst-plot}

begin{document}

begin{figure}[h]
begin{pspicture}(0,-1.212)(3.07325,1.212)
definecolor{color509}{rgb}{0.2,0.2,0.2}
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(0.06625,0.6)(0.88625,0.6)
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
usefont{T1}{ptm}{b}{it}
psframe[linewidth=0.024,dimen=outer](2.04625,1.02)(0.88625,0.2)
psline[linewidth=0.024cm](2.86625,1.2)(2.86625,0.0)
psline[linewidth=0.024cm](0.06625,1.2)(0.06625,0.0)
psdots[dotsize=0.374,dotstyle=oplus](2.86625,0.6)
psline[linewidth=0.024cm,arrowsize=0.05291667cm 2.0,arrowlength=1.4,arrowinset=0.4]{->}(2.06625,0.6)(2.66625,0.6)
psline[linewidth=0.024cm,linecolor=color509](0.06625,0.0)(2.86625,-1.2)
psline[linewidth=0.024cm,linecolor=color509](2.86625,0.0)(0.06625,-1.2)
end{pspicture}
end{figure}

end{document}


The picture of errors are:



enter image description here



I would very much appreciate any assistance you can offer me in this question.



Edition: I want to ask you to guide to improve the code until that the picture inside an ellipse as follows. Thanks



enter image description here







pstricks pspicture






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 4 at 8:06

























asked Dec 3 at 19:54









user0410

305




305








  • 2




    use xelatex or latex-dvips-ps2pdf
    – Artificial Stupidity
    Dec 3 at 19:58










  • @ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
    – user0410
    Dec 3 at 20:01








  • 1




    Well, you set linecolor=... It's used in your code.
    – Bernard
    Dec 3 at 20:56










  • @Bernard You right. I got it. Thanks
    – user0410
    Dec 3 at 21:25










  • These extravagant coordinates come from Latex Draw?
    – Bernard
    Dec 3 at 21:28














  • 2




    use xelatex or latex-dvips-ps2pdf
    – Artificial Stupidity
    Dec 3 at 19:58










  • @ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
    – user0410
    Dec 3 at 20:01








  • 1




    Well, you set linecolor=... It's used in your code.
    – Bernard
    Dec 3 at 20:56










  • @Bernard You right. I got it. Thanks
    – user0410
    Dec 3 at 21:25










  • These extravagant coordinates come from Latex Draw?
    – Bernard
    Dec 3 at 21:28








2




2




use xelatex or latex-dvips-ps2pdf
– Artificial Stupidity
Dec 3 at 19:58




use xelatex or latex-dvips-ps2pdf
– Artificial Stupidity
Dec 3 at 19:58












@ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
– user0410
Dec 3 at 20:01






@ArtificialStupidity Wonderful. Really Really Thanks. It works. Please write your comment as an answer. Thanks
– user0410
Dec 3 at 20:01






1




1




Well, you set linecolor=... It's used in your code.
– Bernard
Dec 3 at 20:56




Well, you set linecolor=... It's used in your code.
– Bernard
Dec 3 at 20:56












@Bernard You right. I got it. Thanks
– user0410
Dec 3 at 21:25




@Bernard You right. I got it. Thanks
– user0410
Dec 3 at 21:25












These extravagant coordinates come from Latex Draw?
– Bernard
Dec 3 at 21:28




These extravagant coordinates come from Latex Draw?
– Bernard
Dec 3 at 21:28










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Use xelatex or latex-dvips-ps2pdf.



documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
pnodes(-2.7,3){A}(-2.7,1){B}(-2.7,0){C}(2.7,-3){D}
pnodes(2.7,3){A'}(2.7,1){B'}(2.7,0){C'}(-2.7,-3){D'}
pnodes(-1,1){X}(1,1){Y}
rput(B'){circlenode{P}{$+$}}
psline(A)(C)(D)
ncline{A'}{P}
ncline{P}{C'}
ncline{C'}{D'}
psframe(-1,0)(1,2)
ncline{->}{B}{X}
ncline{->}{Y}{P}
psellipse[linecolor=green](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • I edited the question. Please see it . Thanks
    – user0410
    Dec 4 at 8:07












  • Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
    – user0410
    Dec 4 at 10:31






  • 1




    @user0410: linecolor=green.
    – Artificial Stupidity
    Dec 4 at 10:53






  • 1




    I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
    – user0410
    Dec 4 at 11:04






  • 1




    @user0410: Changing birth certificate takes time and money. :-)
    – Artificial Stupidity
    Dec 4 at 11:05


















up vote
2
down vote













documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
psline(-2.7,3)(-2.7,1)(-2.7,0)(2.7,-3)
cnodeput(2.7,1){P}{$+$}
pnodes(-2.7,1){A}(2.7,3){B0}(2.7,0){B1}
ncline{B0}{P}ncline{P}{B1}
psline(B1)(-2.7,-3)
fnode[framesize=1.5](0,1){F}{}
ncline{->}{A}{F}ncline{->}{F}{P}
psellipse[linecolor=green,fillcolor=green,
opacity=0.15,fillstyle=solid](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer





















  • I would appreciate for your nice code.
    – user0410
    Dec 4 at 12:23











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',
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%2f463034%2fa-problem-in-running-pspicture-environment%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








up vote
1
down vote



accepted










Use xelatex or latex-dvips-ps2pdf.



documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
pnodes(-2.7,3){A}(-2.7,1){B}(-2.7,0){C}(2.7,-3){D}
pnodes(2.7,3){A'}(2.7,1){B'}(2.7,0){C'}(-2.7,-3){D'}
pnodes(-1,1){X}(1,1){Y}
rput(B'){circlenode{P}{$+$}}
psline(A)(C)(D)
ncline{A'}{P}
ncline{P}{C'}
ncline{C'}{D'}
psframe(-1,0)(1,2)
ncline{->}{B}{X}
ncline{->}{Y}{P}
psellipse[linecolor=green](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • I edited the question. Please see it . Thanks
    – user0410
    Dec 4 at 8:07












  • Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
    – user0410
    Dec 4 at 10:31






  • 1




    @user0410: linecolor=green.
    – Artificial Stupidity
    Dec 4 at 10:53






  • 1




    I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
    – user0410
    Dec 4 at 11:04






  • 1




    @user0410: Changing birth certificate takes time and money. :-)
    – Artificial Stupidity
    Dec 4 at 11:05















up vote
1
down vote



accepted










Use xelatex or latex-dvips-ps2pdf.



documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
pnodes(-2.7,3){A}(-2.7,1){B}(-2.7,0){C}(2.7,-3){D}
pnodes(2.7,3){A'}(2.7,1){B'}(2.7,0){C'}(-2.7,-3){D'}
pnodes(-1,1){X}(1,1){Y}
rput(B'){circlenode{P}{$+$}}
psline(A)(C)(D)
ncline{A'}{P}
ncline{P}{C'}
ncline{C'}{D'}
psframe(-1,0)(1,2)
ncline{->}{B}{X}
ncline{->}{Y}{P}
psellipse[linecolor=green](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • I edited the question. Please see it . Thanks
    – user0410
    Dec 4 at 8:07












  • Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
    – user0410
    Dec 4 at 10:31






  • 1




    @user0410: linecolor=green.
    – Artificial Stupidity
    Dec 4 at 10:53






  • 1




    I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
    – user0410
    Dec 4 at 11:04






  • 1




    @user0410: Changing birth certificate takes time and money. :-)
    – Artificial Stupidity
    Dec 4 at 11:05













up vote
1
down vote



accepted







up vote
1
down vote



accepted






Use xelatex or latex-dvips-ps2pdf.



documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
pnodes(-2.7,3){A}(-2.7,1){B}(-2.7,0){C}(2.7,-3){D}
pnodes(2.7,3){A'}(2.7,1){B'}(2.7,0){C'}(-2.7,-3){D'}
pnodes(-1,1){X}(1,1){Y}
rput(B'){circlenode{P}{$+$}}
psline(A)(C)(D)
ncline{A'}{P}
ncline{P}{C'}
ncline{C'}{D'}
psframe(-1,0)(1,2)
ncline{->}{B}{X}
ncline{->}{Y}{P}
psellipse[linecolor=green](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer














Use xelatex or latex-dvips-ps2pdf.



documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
pnodes(-2.7,3){A}(-2.7,1){B}(-2.7,0){C}(2.7,-3){D}
pnodes(2.7,3){A'}(2.7,1){B'}(2.7,0){C'}(-2.7,-3){D'}
pnodes(-1,1){X}(1,1){Y}
rput(B'){circlenode{P}{$+$}}
psline(A)(C)(D)
ncline{A'}{P}
ncline{P}{C'}
ncline{C'}{D'}
psframe(-1,0)(1,2)
ncline{->}{B}{X}
ncline{->}{Y}{P}
psellipse[linecolor=green](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 4 at 10:55

























answered Dec 4 at 7:03









Artificial Stupidity

4,64611039




4,64611039












  • I edited the question. Please see it . Thanks
    – user0410
    Dec 4 at 8:07












  • Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
    – user0410
    Dec 4 at 10:31






  • 1




    @user0410: linecolor=green.
    – Artificial Stupidity
    Dec 4 at 10:53






  • 1




    I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
    – user0410
    Dec 4 at 11:04






  • 1




    @user0410: Changing birth certificate takes time and money. :-)
    – Artificial Stupidity
    Dec 4 at 11:05


















  • I edited the question. Please see it . Thanks
    – user0410
    Dec 4 at 8:07












  • Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
    – user0410
    Dec 4 at 10:31






  • 1




    @user0410: linecolor=green.
    – Artificial Stupidity
    Dec 4 at 10:53






  • 1




    I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
    – user0410
    Dec 4 at 11:04






  • 1




    @user0410: Changing birth certificate takes time and money. :-)
    – Artificial Stupidity
    Dec 4 at 11:05
















I edited the question. Please see it . Thanks
– user0410
Dec 4 at 8:07






I edited the question. Please see it . Thanks
– user0410
Dec 4 at 8:07














Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
– user0410
Dec 4 at 10:31




Its perfect. Never I use the Latexdraw software. In fact, I want to write pspicture codes as you done. Thanks again.
– user0410
Dec 4 at 10:31




1




1




@user0410: linecolor=green.
– Artificial Stupidity
Dec 4 at 10:53




@user0410: linecolor=green.
– Artificial Stupidity
Dec 4 at 10:53




1




1




I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
– user0410
Dec 4 at 11:04




I suggest to change your username, since you are not "Artificial Stupidity" . In fact, you are "Factual Knowledge". Please excuse me if my suggestion bother you.
– user0410
Dec 4 at 11:04




1




1




@user0410: Changing birth certificate takes time and money. :-)
– Artificial Stupidity
Dec 4 at 11:05




@user0410: Changing birth certificate takes time and money. :-)
– Artificial Stupidity
Dec 4 at 11:05










up vote
2
down vote













documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
psline(-2.7,3)(-2.7,1)(-2.7,0)(2.7,-3)
cnodeput(2.7,1){P}{$+$}
pnodes(-2.7,1){A}(2.7,3){B0}(2.7,0){B1}
ncline{B0}{P}ncline{P}{B1}
psline(B1)(-2.7,-3)
fnode[framesize=1.5](0,1){F}{}
ncline{->}{A}{F}ncline{->}{F}{P}
psellipse[linecolor=green,fillcolor=green,
opacity=0.15,fillstyle=solid](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer





















  • I would appreciate for your nice code.
    – user0410
    Dec 4 at 12:23















up vote
2
down vote













documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
psline(-2.7,3)(-2.7,1)(-2.7,0)(2.7,-3)
cnodeput(2.7,1){P}{$+$}
pnodes(-2.7,1){A}(2.7,3){B0}(2.7,0){B1}
ncline{B0}{P}ncline{P}{B1}
psline(B1)(-2.7,-3)
fnode[framesize=1.5](0,1){F}{}
ncline{->}{A}{F}ncline{->}{F}{P}
psellipse[linecolor=green,fillcolor=green,
opacity=0.15,fillstyle=solid](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer





















  • I would appreciate for your nice code.
    – user0410
    Dec 4 at 12:23













up vote
2
down vote










up vote
2
down vote









documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
psline(-2.7,3)(-2.7,1)(-2.7,0)(2.7,-3)
cnodeput(2.7,1){P}{$+$}
pnodes(-2.7,1){A}(2.7,3){B0}(2.7,0){B1}
ncline{B0}{P}ncline{P}{B1}
psline(B1)(-2.7,-3)
fnode[framesize=1.5](0,1){F}{}
ncline{->}{A}{F}ncline{->}{F}{P}
psellipse[linecolor=green,fillcolor=green,
opacity=0.15,fillstyle=solid](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here






share|improve this answer












documentclass[pstricks,border=1pt,12pt]{standalone}   
usepackage{pst-node}

begin{document}
begin{pspicture}(-3.5,-3)(3.5,3)
psline(-2.7,3)(-2.7,1)(-2.7,0)(2.7,-3)
cnodeput(2.7,1){P}{$+$}
pnodes(-2.7,1){A}(2.7,3){B0}(2.7,0){B1}
ncline{B0}{P}ncline{P}{B1}
psline(B1)(-2.7,-3)
fnode[framesize=1.5](0,1){F}{}
ncline{->}{A}{F}ncline{->}{F}{P}
psellipse[linecolor=green,fillcolor=green,
opacity=0.15,fillstyle=solid](0,.5)(3.5,2.25)
end{pspicture}
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 4 at 12:11









Herbert

267k23406716




267k23406716












  • I would appreciate for your nice code.
    – user0410
    Dec 4 at 12:23


















  • I would appreciate for your nice code.
    – user0410
    Dec 4 at 12:23
















I would appreciate for your nice code.
– user0410
Dec 4 at 12:23




I would appreciate for your nice code.
– user0410
Dec 4 at 12:23


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f463034%2fa-problem-in-running-pspicture-environment%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 to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?