Please explain the operator of rput command in the following code:










5















beginpspicture
psgrid[gridcolor=gray,subgridcolor=lightgray](0,0)(5,5)
rput[bl](0,1)bottom left (0,1)
rput[tr](5,1)top right (5,1)
rput[t](2,2)stuff1
endpspicture


I think it :



enter image description here










share|improve this question
























  • Where can we find definitions for rputbl, rputtr and rputt?

    – Werner
    Nov 13 '18 at 6:27











  • I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

    – chishimotoji
    Nov 13 '18 at 6:37











  • Editted code. sorry

    – chishimotoji
    Nov 13 '18 at 6:40















5















beginpspicture
psgrid[gridcolor=gray,subgridcolor=lightgray](0,0)(5,5)
rput[bl](0,1)bottom left (0,1)
rput[tr](5,1)top right (5,1)
rput[t](2,2)stuff1
endpspicture


I think it :



enter image description here










share|improve this question
























  • Where can we find definitions for rputbl, rputtr and rputt?

    – Werner
    Nov 13 '18 at 6:27











  • I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

    – chishimotoji
    Nov 13 '18 at 6:37











  • Editted code. sorry

    – chishimotoji
    Nov 13 '18 at 6:40













5












5








5








beginpspicture
psgrid[gridcolor=gray,subgridcolor=lightgray](0,0)(5,5)
rput[bl](0,1)bottom left (0,1)
rput[tr](5,1)top right (5,1)
rput[t](2,2)stuff1
endpspicture


I think it :



enter image description here










share|improve this question
















beginpspicture
psgrid[gridcolor=gray,subgridcolor=lightgray](0,0)(5,5)
rput[bl](0,1)bottom left (0,1)
rput[tr](5,1)top right (5,1)
rput[t](2,2)stuff1
endpspicture


I think it :



enter image description here







pstricks pspicture






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 7:13









Werner

443k679771675




443k679771675










asked Nov 13 '18 at 6:11









chishimotojichishimotoji

811320




811320












  • Where can we find definitions for rputbl, rputtr and rputt?

    – Werner
    Nov 13 '18 at 6:27











  • I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

    – chishimotoji
    Nov 13 '18 at 6:37











  • Editted code. sorry

    – chishimotoji
    Nov 13 '18 at 6:40

















  • Where can we find definitions for rputbl, rputtr and rputt?

    – Werner
    Nov 13 '18 at 6:27











  • I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

    – chishimotoji
    Nov 13 '18 at 6:37











  • Editted code. sorry

    – chishimotoji
    Nov 13 '18 at 6:40
















Where can we find definitions for rputbl, rputtr and rputt?

– Werner
Nov 13 '18 at 6:27





Where can we find definitions for rputbl, rputtr and rputt?

– Werner
Nov 13 '18 at 6:27













I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

– chishimotoji
Nov 13 '18 at 6:37





I have read rput 's turtorial in Pstrick user's guide but i don't think result of its code as such.

– chishimotoji
Nov 13 '18 at 6:37













Editted code. sorry

– chishimotoji
Nov 13 '18 at 6:40





Editted code. sorry

– chishimotoji
Nov 13 '18 at 6:40










3 Answers
3






active

oldest

votes


















4














The optional argument for rput[<refpoint>](x,y)<stuff> provides the reference point (or anchor) for <stuff>. So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y). Similarly for rput[bl] and rput[t] (and any of the possible combinations listed in the pstricks documentation.



enter image description here






share|improve this answer























  • ""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

    – chishimotoji
    Nov 13 '18 at 11:32



















5














documentclassarticle
usepackagepstricks
begindocument

beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
rput[bl](0,1)psframeboxbottom left (0,1)
rput[tr](5,1)psframeboxtop right (5,1)
rput[t](2,2)psframeboxstuff1
endpspicture

bigskip
beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
uput0[45](0,1)psframeboxbottom left (0,1)
uput0[-135](5,1)psframeboxtop right (5,1)
uput0[-90](2,2)psframeboxstuff1
endpspicture

enddocument


enter image description here



In the following example we need 'rput` to put stuff centered to a point:



beginpspicture[showgrid,framesep=0pt](5,5)
psdots(2.5,2.5)
multidoiA=0+1036uput10mm[iA](2.5,2.5)psframeboxsome text
rput(2.5,2.5)Center
endpspicture


enter image description here






share|improve this answer

























  • rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

    – chishimotoji
    Nov 13 '18 at 9:33











  • They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

    – Herbert
    Nov 13 '18 at 9:38











  • As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

    – chishimotoji
    Nov 13 '18 at 9:45












  • again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

    – Herbert
    Nov 13 '18 at 9:52












  • :((, so i will choose uput for my code in the future. Thank you a lots for your answer.

    – chishimotoji
    Nov 13 '18 at 10:02


















1














Warning!



The refpoint optional argument only works for "boxed" objects as follows.



documentclass[pstricks,border=1cm]standalone

defunboxedObjectpsframe(2,1)
defboxedObjectpsframeboxHuge "Age

begindocument
foreach i int,tl,l,bl,b,br,r,tr,t,Bl,B,Br%
beginpspicture[showgrid,dimen=m](4,3)
rput[b](2,0.1)bf i
rput[i](2,2)boxedObject
%rput[i](2,2)unboxedObject
pscircle*[linecolor=red](2,2)2pt
endpspicture
enddocument


enter image description here



For "unboxed" objects, the argument refpoint does not affect. The terminologies "boxed" and "unboxed" used here have nothing to do with the same terms used in C# or Java programming languages.






share|improve this answer




















  • 1





    It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

    – Herbert
    Nov 13 '18 at 16:21











  • If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

    – chishimotoji
    Nov 14 '18 at 16:12











  • @TrongVuong: I don't use Rput so I don't know its behavior. :-)

    – Artificial Stupidity
    Nov 14 '18 at 16:15











  • I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

    – chishimotoji
    Nov 14 '18 at 16:19











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%2f459734%2fplease-explain-the-operator-of-rput-command-in-the-following-code%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














The optional argument for rput[<refpoint>](x,y)<stuff> provides the reference point (or anchor) for <stuff>. So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y). Similarly for rput[bl] and rput[t] (and any of the possible combinations listed in the pstricks documentation.



enter image description here






share|improve this answer























  • ""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

    – chishimotoji
    Nov 13 '18 at 11:32
















4














The optional argument for rput[<refpoint>](x,y)<stuff> provides the reference point (or anchor) for <stuff>. So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y). Similarly for rput[bl] and rput[t] (and any of the possible combinations listed in the pstricks documentation.



enter image description here






share|improve this answer























  • ""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

    – chishimotoji
    Nov 13 '18 at 11:32














4












4








4







The optional argument for rput[<refpoint>](x,y)<stuff> provides the reference point (or anchor) for <stuff>. So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y). Similarly for rput[bl] and rput[t] (and any of the possible combinations listed in the pstricks documentation.



enter image description here






share|improve this answer













The optional argument for rput[<refpoint>](x,y)<stuff> provides the reference point (or anchor) for <stuff>. So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y). Similarly for rput[bl] and rput[t] (and any of the possible combinations listed in the pstricks documentation.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 13 '18 at 7:27









WernerWerner

443k679771675




443k679771675












  • ""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

    – chishimotoji
    Nov 13 '18 at 11:32


















  • ""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

    – chishimotoji
    Nov 13 '18 at 11:32

















""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

– chishimotoji
Nov 13 '18 at 11:32






""So, using rput[tl](x,y)<stuff> puts the top left corner of <stuff> at (x,y) """ in your answer. It is the key to my question. Again, thanks a lot

– chishimotoji
Nov 13 '18 at 11:32












5














documentclassarticle
usepackagepstricks
begindocument

beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
rput[bl](0,1)psframeboxbottom left (0,1)
rput[tr](5,1)psframeboxtop right (5,1)
rput[t](2,2)psframeboxstuff1
endpspicture

bigskip
beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
uput0[45](0,1)psframeboxbottom left (0,1)
uput0[-135](5,1)psframeboxtop right (5,1)
uput0[-90](2,2)psframeboxstuff1
endpspicture

enddocument


enter image description here



In the following example we need 'rput` to put stuff centered to a point:



beginpspicture[showgrid,framesep=0pt](5,5)
psdots(2.5,2.5)
multidoiA=0+1036uput10mm[iA](2.5,2.5)psframeboxsome text
rput(2.5,2.5)Center
endpspicture


enter image description here






share|improve this answer

























  • rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

    – chishimotoji
    Nov 13 '18 at 9:33











  • They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

    – Herbert
    Nov 13 '18 at 9:38











  • As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

    – chishimotoji
    Nov 13 '18 at 9:45












  • again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

    – Herbert
    Nov 13 '18 at 9:52












  • :((, so i will choose uput for my code in the future. Thank you a lots for your answer.

    – chishimotoji
    Nov 13 '18 at 10:02















5














documentclassarticle
usepackagepstricks
begindocument

beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
rput[bl](0,1)psframeboxbottom left (0,1)
rput[tr](5,1)psframeboxtop right (5,1)
rput[t](2,2)psframeboxstuff1
endpspicture

bigskip
beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
uput0[45](0,1)psframeboxbottom left (0,1)
uput0[-135](5,1)psframeboxtop right (5,1)
uput0[-90](2,2)psframeboxstuff1
endpspicture

enddocument


enter image description here



In the following example we need 'rput` to put stuff centered to a point:



beginpspicture[showgrid,framesep=0pt](5,5)
psdots(2.5,2.5)
multidoiA=0+1036uput10mm[iA](2.5,2.5)psframeboxsome text
rput(2.5,2.5)Center
endpspicture


enter image description here






share|improve this answer

























  • rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

    – chishimotoji
    Nov 13 '18 at 9:33











  • They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

    – Herbert
    Nov 13 '18 at 9:38











  • As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

    – chishimotoji
    Nov 13 '18 at 9:45












  • again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

    – Herbert
    Nov 13 '18 at 9:52












  • :((, so i will choose uput for my code in the future. Thank you a lots for your answer.

    – chishimotoji
    Nov 13 '18 at 10:02













5












5








5







documentclassarticle
usepackagepstricks
begindocument

beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
rput[bl](0,1)psframeboxbottom left (0,1)
rput[tr](5,1)psframeboxtop right (5,1)
rput[t](2,2)psframeboxstuff1
endpspicture

bigskip
beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
uput0[45](0,1)psframeboxbottom left (0,1)
uput0[-135](5,1)psframeboxtop right (5,1)
uput0[-90](2,2)psframeboxstuff1
endpspicture

enddocument


enter image description here



In the following example we need 'rput` to put stuff centered to a point:



beginpspicture[showgrid,framesep=0pt](5,5)
psdots(2.5,2.5)
multidoiA=0+1036uput10mm[iA](2.5,2.5)psframeboxsome text
rput(2.5,2.5)Center
endpspicture


enter image description here






share|improve this answer















documentclassarticle
usepackagepstricks
begindocument

beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
rput[bl](0,1)psframeboxbottom left (0,1)
rput[tr](5,1)psframeboxtop right (5,1)
rput[t](2,2)psframeboxstuff1
endpspicture

bigskip
beginpspicture[showgrid,framesep=0pt](6,3)
psdots(0,1)(5,1)(2,2)
uput0[45](0,1)psframeboxbottom left (0,1)
uput0[-135](5,1)psframeboxtop right (5,1)
uput0[-90](2,2)psframeboxstuff1
endpspicture

enddocument


enter image description here



In the following example we need 'rput` to put stuff centered to a point:



beginpspicture[showgrid,framesep=0pt](5,5)
psdots(2.5,2.5)
multidoiA=0+1036uput10mm[iA](2.5,2.5)psframeboxsome text
rput(2.5,2.5)Center
endpspicture


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 13 '18 at 10:07

























answered Nov 13 '18 at 7:38









HerbertHerbert

273k24414728




273k24414728












  • rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

    – chishimotoji
    Nov 13 '18 at 9:33











  • They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

    – Herbert
    Nov 13 '18 at 9:38











  • As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

    – chishimotoji
    Nov 13 '18 at 9:45












  • again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

    – Herbert
    Nov 13 '18 at 9:52












  • :((, so i will choose uput for my code in the future. Thank you a lots for your answer.

    – chishimotoji
    Nov 13 '18 at 10:02

















  • rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

    – chishimotoji
    Nov 13 '18 at 9:33











  • They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

    – Herbert
    Nov 13 '18 at 9:38











  • As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

    – chishimotoji
    Nov 13 '18 at 9:45












  • again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

    – Herbert
    Nov 13 '18 at 9:52












  • :((, so i will choose uput for my code in the future. Thank you a lots for your answer.

    – chishimotoji
    Nov 13 '18 at 10:02
















rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

– chishimotoji
Nov 13 '18 at 9:33





rput[bl]=uput0[45],rput[tr]=uput0[-135],rput[t]=uput0[-90]. They are equivalent. So, in your opinion, which should be used? :((

– chishimotoji
Nov 13 '18 at 9:33













They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

– Herbert
Nov 13 '18 at 9:38





They can be the same! With uput you can rotate the label around the given point. However, it depends on what you want. A label right beside is easier with `uput[0](x,y)foo'

– Herbert
Nov 13 '18 at 9:38













As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

– chishimotoji
Nov 13 '18 at 9:45






As my think, "bottom left" is must be 0[-135].... I want to know my think is not right or Pstricks code is wrong! according to book , "bl" lie that position! :((

– chishimotoji
Nov 13 '18 at 9:45














again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

– Herbert
Nov 13 '18 at 9:52






again: rput and uput can be the same but only for the positions which rput allows (see image on Werners answer). With uput you can place it at any angle, e.g. 100, which is not possible with rput

– Herbert
Nov 13 '18 at 9:52














:((, so i will choose uput for my code in the future. Thank you a lots for your answer.

– chishimotoji
Nov 13 '18 at 10:02





:((, so i will choose uput for my code in the future. Thank you a lots for your answer.

– chishimotoji
Nov 13 '18 at 10:02











1














Warning!



The refpoint optional argument only works for "boxed" objects as follows.



documentclass[pstricks,border=1cm]standalone

defunboxedObjectpsframe(2,1)
defboxedObjectpsframeboxHuge "Age

begindocument
foreach i int,tl,l,bl,b,br,r,tr,t,Bl,B,Br%
beginpspicture[showgrid,dimen=m](4,3)
rput[b](2,0.1)bf i
rput[i](2,2)boxedObject
%rput[i](2,2)unboxedObject
pscircle*[linecolor=red](2,2)2pt
endpspicture
enddocument


enter image description here



For "unboxed" objects, the argument refpoint does not affect. The terminologies "boxed" and "unboxed" used here have nothing to do with the same terms used in C# or Java programming languages.






share|improve this answer




















  • 1





    It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

    – Herbert
    Nov 13 '18 at 16:21











  • If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

    – chishimotoji
    Nov 14 '18 at 16:12











  • @TrongVuong: I don't use Rput so I don't know its behavior. :-)

    – Artificial Stupidity
    Nov 14 '18 at 16:15











  • I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

    – chishimotoji
    Nov 14 '18 at 16:19
















1














Warning!



The refpoint optional argument only works for "boxed" objects as follows.



documentclass[pstricks,border=1cm]standalone

defunboxedObjectpsframe(2,1)
defboxedObjectpsframeboxHuge "Age

begindocument
foreach i int,tl,l,bl,b,br,r,tr,t,Bl,B,Br%
beginpspicture[showgrid,dimen=m](4,3)
rput[b](2,0.1)bf i
rput[i](2,2)boxedObject
%rput[i](2,2)unboxedObject
pscircle*[linecolor=red](2,2)2pt
endpspicture
enddocument


enter image description here



For "unboxed" objects, the argument refpoint does not affect. The terminologies "boxed" and "unboxed" used here have nothing to do with the same terms used in C# or Java programming languages.






share|improve this answer




















  • 1





    It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

    – Herbert
    Nov 13 '18 at 16:21











  • If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

    – chishimotoji
    Nov 14 '18 at 16:12











  • @TrongVuong: I don't use Rput so I don't know its behavior. :-)

    – Artificial Stupidity
    Nov 14 '18 at 16:15











  • I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

    – chishimotoji
    Nov 14 '18 at 16:19














1












1








1







Warning!



The refpoint optional argument only works for "boxed" objects as follows.



documentclass[pstricks,border=1cm]standalone

defunboxedObjectpsframe(2,1)
defboxedObjectpsframeboxHuge "Age

begindocument
foreach i int,tl,l,bl,b,br,r,tr,t,Bl,B,Br%
beginpspicture[showgrid,dimen=m](4,3)
rput[b](2,0.1)bf i
rput[i](2,2)boxedObject
%rput[i](2,2)unboxedObject
pscircle*[linecolor=red](2,2)2pt
endpspicture
enddocument


enter image description here



For "unboxed" objects, the argument refpoint does not affect. The terminologies "boxed" and "unboxed" used here have nothing to do with the same terms used in C# or Java programming languages.






share|improve this answer















Warning!



The refpoint optional argument only works for "boxed" objects as follows.



documentclass[pstricks,border=1cm]standalone

defunboxedObjectpsframe(2,1)
defboxedObjectpsframeboxHuge "Age

begindocument
foreach i int,tl,l,bl,b,br,r,tr,t,Bl,B,Br%
beginpspicture[showgrid,dimen=m](4,3)
rput[b](2,0.1)bf i
rput[i](2,2)boxedObject
%rput[i](2,2)unboxedObject
pscircle*[linecolor=red](2,2)2pt
endpspicture
enddocument


enter image description here



For "unboxed" objects, the argument refpoint does not affect. The terminologies "boxed" and "unboxed" used here have nothing to do with the same terms used in C# or Java programming languages.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 13 '18 at 16:38

























answered Nov 13 '18 at 16:08









Artificial StupidityArtificial Stupidity

5,55011040




5,55011040







  • 1





    It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

    – Herbert
    Nov 13 '18 at 16:21











  • If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

    – chishimotoji
    Nov 14 '18 at 16:12











  • @TrongVuong: I don't use Rput so I don't know its behavior. :-)

    – Artificial Stupidity
    Nov 14 '18 at 16:15











  • I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

    – chishimotoji
    Nov 14 '18 at 16:19













  • 1





    It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

    – Herbert
    Nov 13 '18 at 16:21











  • If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

    – chishimotoji
    Nov 14 '18 at 16:12











  • @TrongVuong: I don't use Rput so I don't know its behavior. :-)

    – Artificial Stupidity
    Nov 14 '18 at 16:15











  • I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

    – chishimotoji
    Nov 14 '18 at 16:19








1




1





It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

– Herbert
Nov 13 '18 at 16:21





It works for "boxes"! psframe alone is not a box! inside pspicture environment it is like a box.

– Herbert
Nov 13 '18 at 16:21













If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

– chishimotoji
Nov 14 '18 at 16:12





If we replace "rput" as "Rput (an obsolete command)" ,the refpoint optional argument works normally without psframebox. Is that true?? :-) (in Pstricks User’s Guide p.45)

– chishimotoji
Nov 14 '18 at 16:12













@TrongVuong: I don't use Rput so I don't know its behavior. :-)

– Artificial Stupidity
Nov 14 '18 at 16:15





@TrongVuong: I don't use Rput so I don't know its behavior. :-)

– Artificial Stupidity
Nov 14 '18 at 16:15













I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

– chishimotoji
Nov 14 '18 at 16:19






I have also just known ! :-)) (My english not so good, i usualy use google translate) :))

– chishimotoji
Nov 14 '18 at 16:19


















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%2f459734%2fplease-explain-the-operator-of-rput-command-in-the-following-code%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

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo