How to compact two the parabol commands in the following example?Example from the pstricks-add manual not compiliingLaTeX Trellis Diagrams for STBCsbegindocument ended by endfigure, latex error in thesis templateGeogebra PStricks export not workingAnother problem with poker packageHow to draw closed path if used the following code:how to draw like the following picture ( use pairs gsave…grestore):How to compact ncline command with PSTricksHow to combine three animations as the following example?Conflict error when using pstMarkAngle with XeLaTeX

Why did the soldiers of the North disobey Jon?

How can we delete item permanently without storing in Recycle Bin?

How can I fix the label locations on my tikzcd diagram?

Why is so much ransomware breakable?

multiline equation inside a matrix that is a part of multiline equation

Would it be fair to use 1d30 (instead of rolling 2d20 and taking the higher die) for advantage rolls?

Is Precocious Apprentice enough for Mystic Theurge?

Is it standard to have the first week's pay indefinitely withheld?

Polynomial division: Is this trick obvious?

Given 0s on Assignments with suspected and dismissed cheating?

"Counterexample" for the Inverse function theorem

​Cuban​ ​Primes

Non-African Click Languages

Why do academics prefer Mac/Linux?

What kind of action are dodge and disengage?

Resistor Selection to retain same brightness in LED PWM circuit

Deleting the same lines from a list

Is Big Ben visible from the British museum?

Do we see some Unsullied doing this in S08E05?

Would life always name the light from their sun "white"

Why use a retrograde orbit?

Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?

Can I pay my credit card?

301 Redirects what does ([a-z]+)-(.*) and ([0-9]+)-(.*) mean



How to compact two the parabol commands in the following example?


Example from the pstricks-add manual not compiliingLaTeX Trellis Diagrams for STBCsbegindocument ended by endfigure, latex error in thesis templateGeogebra PStricks export not workingAnother problem with poker packageHow to draw closed path if used the following code:how to draw like the following picture ( use pairs gsave…grestore):How to compact ncline command with PSTricksHow to combine three animations as the following example?Conflict error when using pstMarkAngle with XeLaTeX













3















documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)%%
endpsclip%%
endpspicture
enddocument


enter image description here



Hmm, seem %% and %% are missing!










share|improve this question

















  • 1





    Yes, you need % at the end of every psrotate line.

    – egreg
    May 11 at 16:27















3















documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)%%
endpsclip%%
endpspicture
enddocument


enter image description here



Hmm, seem %% and %% are missing!










share|improve this question

















  • 1





    Yes, you need % at the end of every psrotate line.

    – egreg
    May 11 at 16:27













3












3








3








documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)%%
endpsclip%%
endpspicture
enddocument


enter image description here



Hmm, seem %% and %% are missing!










share|improve this question














documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
psrotate(0,0)-90parabola[fillstyle=hlines](3,3)(0,0)
psrotate(0,0)90parabola[fillstyle=hlines](3,3)(0,0)%%
endpsclip%%
endpspicture
enddocument


enter image description here



Hmm, seem %% and %% are missing!







pstricks pstricks-add






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 11 at 16:17









Trong VuongTrong Vuong

7011323




7011323







  • 1





    Yes, you need % at the end of every psrotate line.

    – egreg
    May 11 at 16:27












  • 1





    Yes, you need % at the end of every psrotate line.

    – egreg
    May 11 at 16:27







1




1





Yes, you need % at the end of every psrotate line.

– egreg
May 11 at 16:27





Yes, you need % at the end of every psrotate line.

– egreg
May 11 at 16:27










3 Answers
3






active

oldest

votes


















4














psrotate is for more complex objects, not for simple rotations around the origin:



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
endpspicture
enddocument


or a shorter version



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
defObjectpsclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
Objectrput180(0,0)Object
endpspicture
enddocument


or without clipping:



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psplot30-sqrt(3*x)psplot03sqrt(3*x)
psplot3-3x^2/3
psplot-30sqrt(3*(-x))psplot0-3-sqrt(3*(-x))



or



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psparametricplot-33t^2/3
psplot3-3x^2/3
psparametricplot3-3 t






share|improve this answer

























  • Yes, I understood.

    – Trong Vuong
    May 11 at 17:09


















3














It's simpler to plot with swapaxes:



documentclass[border=15pt, pstricks, svgnames, 12pt]standalone
usepackagepstricks-add

begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
pssetlinecolor=LightSlateGrey, hatchwidth=0.5pt, hatchsep=3pt, hatchcolor=LightSteelBlue
psclipparabola[](3, 3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
%
psclipparabola(-3, -3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
endpspicture

enddocument


enter image description here






share|improve this answer

























  • Yes, swapaxes ... I will think about it.

    – Trong Vuong
    May 12 at 1:15


















3














Just for fun: a TikZ version.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
beginscope[every path/.append style=pattern=north west lines]
draw (0,0) parabola (3,3)[rotate=90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (-3,-3)[rotate=90] parabola[bend pos=1] (0,-6);
draw (0,0) parabola (-3,3)[rotate=-90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (3,-3)[rotate=-90] parabola[bend pos=1] (0,-6);
endscope
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument


enter image description here



One can do it in one path, too, but then the rotations and shifts start to accumulate.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
draw[pattern=north west lines] (0,0) coordinate (O) parabola (3,3)
[rotate=90] parabola[bend pos=1] (0,6) [rotate=0]
parabola (-3,3) [rotate=90] parabola[bend pos=1] (O) [rotate=0]
parabola (3,3) [rotate=-90] parabola[bend pos=1] (6,0) [rotate=0]
parabola (9,3)[rotate=-90] parabola[bend pos=1] (12,0);
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument





share|improve this answer

























  • Thank for your answer.

    – Trong Vuong
    May 11 at 17:04











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%2f490349%2fhow-to-compact-two-the-parabol-commands-in-the-following-example%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














psrotate is for more complex objects, not for simple rotations around the origin:



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
endpspicture
enddocument


or a shorter version



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
defObjectpsclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
Objectrput180(0,0)Object
endpspicture
enddocument


or without clipping:



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psplot30-sqrt(3*x)psplot03sqrt(3*x)
psplot3-3x^2/3
psplot-30sqrt(3*(-x))psplot0-3-sqrt(3*(-x))



or



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psparametricplot-33t^2/3
psplot3-3x^2/3
psparametricplot3-3 t






share|improve this answer

























  • Yes, I understood.

    – Trong Vuong
    May 11 at 17:09















4














psrotate is for more complex objects, not for simple rotations around the origin:



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
endpspicture
enddocument


or a shorter version



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
defObjectpsclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
Objectrput180(0,0)Object
endpspicture
enddocument


or without clipping:



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psplot30-sqrt(3*x)psplot03sqrt(3*x)
psplot3-3x^2/3
psplot-30sqrt(3*(-x))psplot0-3-sqrt(3*(-x))



or



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psparametricplot-33t^2/3
psplot3-3x^2/3
psparametricplot3-3 t






share|improve this answer

























  • Yes, I understood.

    – Trong Vuong
    May 11 at 17:09













4












4








4







psrotate is for more complex objects, not for simple rotations around the origin:



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
endpspicture
enddocument


or a shorter version



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
defObjectpsclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
Objectrput180(0,0)Object
endpspicture
enddocument


or without clipping:



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psplot30-sqrt(3*x)psplot03sqrt(3*x)
psplot3-3x^2/3
psplot-30sqrt(3*(-x))psplot0-3-sqrt(3*(-x))



or



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psparametricplot-33t^2/3
psplot3-3x^2/3
psparametricplot3-3 t






share|improve this answer















psrotate is for more complex objects, not for simple rotations around the origin:



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
psclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
psclipparabola(-3,-3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
endpspicture
enddocument


or a shorter version



documentclass[border=15pt,pstricks,12pt]standalone
usepackagepstricks-add
defObjectpsclipparabola(3,3)(0,0)%
rput-90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
rput90(0,0)parabola[fillstyle=hlines](3,3)(0,0)
endpsclip
begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
Objectrput180(0,0)Object
endpspicture
enddocument


or without clipping:



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psplot30-sqrt(3*x)psplot03sqrt(3*x)
psplot3-3x^2/3
psplot-30sqrt(3*(-x))psplot0-3-sqrt(3*(-x))



or



pscustom[fillstyle=hlines]%
psplot-33-x^2/3
psparametricplot-33t^2/3
psplot3-3x^2/3
psparametricplot3-3 t







share|improve this answer














share|improve this answer



share|improve this answer








edited May 11 at 18:09

























answered May 11 at 16:52









Red-CloudRed-Cloud

2,30313




2,30313












  • Yes, I understood.

    – Trong Vuong
    May 11 at 17:09

















  • Yes, I understood.

    – Trong Vuong
    May 11 at 17:09
















Yes, I understood.

– Trong Vuong
May 11 at 17:09





Yes, I understood.

– Trong Vuong
May 11 at 17:09











3














It's simpler to plot with swapaxes:



documentclass[border=15pt, pstricks, svgnames, 12pt]standalone
usepackagepstricks-add

begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
pssetlinecolor=LightSlateGrey, hatchwidth=0.5pt, hatchsep=3pt, hatchcolor=LightSteelBlue
psclipparabola[](3, 3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
%
psclipparabola(-3, -3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
endpspicture

enddocument


enter image description here






share|improve this answer

























  • Yes, swapaxes ... I will think about it.

    – Trong Vuong
    May 12 at 1:15















3














It's simpler to plot with swapaxes:



documentclass[border=15pt, pstricks, svgnames, 12pt]standalone
usepackagepstricks-add

begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
pssetlinecolor=LightSlateGrey, hatchwidth=0.5pt, hatchsep=3pt, hatchcolor=LightSteelBlue
psclipparabola[](3, 3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
%
psclipparabola(-3, -3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
endpspicture

enddocument


enter image description here






share|improve this answer

























  • Yes, swapaxes ... I will think about it.

    – Trong Vuong
    May 12 at 1:15













3












3








3







It's simpler to plot with swapaxes:



documentclass[border=15pt, pstricks, svgnames, 12pt]standalone
usepackagepstricks-add

begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
pssetlinecolor=LightSlateGrey, hatchwidth=0.5pt, hatchsep=3pt, hatchcolor=LightSteelBlue
psclipparabola[](3, 3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
%
psclipparabola(-3, -3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
endpspicture

enddocument


enter image description here






share|improve this answer















It's simpler to plot with swapaxes:



documentclass[border=15pt, pstricks, svgnames, 12pt]standalone
usepackagepstricks-add

begindocument

beginpspicture[showgrid](-3,-3)(3,3)
psframe[dimen=m](-3,-3)(3,3)
%%%
pssetlinecolor=LightSlateGrey, hatchwidth=0.5pt, hatchsep=3pt, hatchcolor=LightSteelBlue
psclipparabola[](3, 3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
%
psclipparabola(-3, -3)(0, 0)%
pssetswapaxes=true, fillstyle=vlines
parabola(3,3)(0,0)
parabola(3,-3)(0,0)
endpsclip
endpspicture

enddocument


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited May 11 at 17:57

























answered May 11 at 17:20









BernardBernard

179k779211




179k779211












  • Yes, swapaxes ... I will think about it.

    – Trong Vuong
    May 12 at 1:15

















  • Yes, swapaxes ... I will think about it.

    – Trong Vuong
    May 12 at 1:15
















Yes, swapaxes ... I will think about it.

– Trong Vuong
May 12 at 1:15





Yes, swapaxes ... I will think about it.

– Trong Vuong
May 12 at 1:15











3














Just for fun: a TikZ version.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
beginscope[every path/.append style=pattern=north west lines]
draw (0,0) parabola (3,3)[rotate=90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (-3,-3)[rotate=90] parabola[bend pos=1] (0,-6);
draw (0,0) parabola (-3,3)[rotate=-90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (3,-3)[rotate=-90] parabola[bend pos=1] (0,-6);
endscope
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument


enter image description here



One can do it in one path, too, but then the rotations and shifts start to accumulate.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
draw[pattern=north west lines] (0,0) coordinate (O) parabola (3,3)
[rotate=90] parabola[bend pos=1] (0,6) [rotate=0]
parabola (-3,3) [rotate=90] parabola[bend pos=1] (O) [rotate=0]
parabola (3,3) [rotate=-90] parabola[bend pos=1] (6,0) [rotate=0]
parabola (9,3)[rotate=-90] parabola[bend pos=1] (12,0);
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument





share|improve this answer

























  • Thank for your answer.

    – Trong Vuong
    May 11 at 17:04















3














Just for fun: a TikZ version.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
beginscope[every path/.append style=pattern=north west lines]
draw (0,0) parabola (3,3)[rotate=90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (-3,-3)[rotate=90] parabola[bend pos=1] (0,-6);
draw (0,0) parabola (-3,3)[rotate=-90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (3,-3)[rotate=-90] parabola[bend pos=1] (0,-6);
endscope
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument


enter image description here



One can do it in one path, too, but then the rotations and shifts start to accumulate.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
draw[pattern=north west lines] (0,0) coordinate (O) parabola (3,3)
[rotate=90] parabola[bend pos=1] (0,6) [rotate=0]
parabola (-3,3) [rotate=90] parabola[bend pos=1] (O) [rotate=0]
parabola (3,3) [rotate=-90] parabola[bend pos=1] (6,0) [rotate=0]
parabola (9,3)[rotate=-90] parabola[bend pos=1] (12,0);
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument





share|improve this answer

























  • Thank for your answer.

    – Trong Vuong
    May 11 at 17:04













3












3








3







Just for fun: a TikZ version.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
beginscope[every path/.append style=pattern=north west lines]
draw (0,0) parabola (3,3)[rotate=90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (-3,-3)[rotate=90] parabola[bend pos=1] (0,-6);
draw (0,0) parabola (-3,3)[rotate=-90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (3,-3)[rotate=-90] parabola[bend pos=1] (0,-6);
endscope
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument


enter image description here



One can do it in one path, too, but then the rotations and shifts start to accumulate.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
draw[pattern=north west lines] (0,0) coordinate (O) parabola (3,3)
[rotate=90] parabola[bend pos=1] (0,6) [rotate=0]
parabola (-3,3) [rotate=90] parabola[bend pos=1] (O) [rotate=0]
parabola (3,3) [rotate=-90] parabola[bend pos=1] (6,0) [rotate=0]
parabola (9,3)[rotate=-90] parabola[bend pos=1] (12,0);
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument





share|improve this answer















Just for fun: a TikZ version.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
beginscope[every path/.append style=pattern=north west lines]
draw (0,0) parabola (3,3)[rotate=90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (-3,-3)[rotate=90] parabola[bend pos=1] (0,-6);
draw (0,0) parabola (-3,3)[rotate=-90] parabola[bend pos=1] (0,6);
draw (0,0) parabola (3,-3)[rotate=-90] parabola[bend pos=1] (0,-6);
endscope
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument


enter image description here



One can do it in one path, too, but then the rotations and shifts start to accumulate.



documentclass[tikz,border=3.14mm]standalone
usetikzlibrarypatterns
begindocument
begintikzpicture
draw[pattern=north west lines] (0,0) coordinate (O) parabola (3,3)
[rotate=90] parabola[bend pos=1] (0,6) [rotate=0]
parabola (-3,3) [rotate=90] parabola[bend pos=1] (O) [rotate=0]
parabola (3,3) [rotate=-90] parabola[bend pos=1] (6,0) [rotate=0]
parabola (9,3)[rotate=-90] parabola[bend pos=1] (12,0);
draw (-3,-3) rectangle (3,3);
endtikzpicture
enddocument






share|improve this answer














share|improve this answer



share|improve this answer








edited May 11 at 18:01

























answered May 11 at 16:45









marmotmarmot

127k6162308




127k6162308












  • Thank for your answer.

    – Trong Vuong
    May 11 at 17:04

















  • Thank for your answer.

    – Trong Vuong
    May 11 at 17:04
















Thank for your answer.

– Trong Vuong
May 11 at 17:04





Thank for your answer.

– Trong Vuong
May 11 at 17:04

















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%2f490349%2fhow-to-compact-two-the-parabol-commands-in-the-following-example%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

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form