New answers tagged

1

The following code works: ... %Black: Ejes %Gray: Región de soluciones %EJES %Vertical: %SOLUCION FACTIBLE %Region de soluciones \psclip{ \pscustom[linestyle=none]{ \psline(0.810012,-1.6741458)(6.7, 8.3) \psline(6.7, 8.3)(0.9, 8.3) \psbezier(0.9, 8.3)(1, 5)(5.655, -0.8)(10.5, -1.5) }} \psframe[fillstyle=solid,fillcolor=...


1

I think you use the software to draw it! The following code works: ... %LimeGreen: Curva PC %Black: Ejes %Gray: Región de soluciones \psclip{ \pscustom[linestyle=none]{ \psbezier(0.8, 2)(5, 3.8)(7, 6)(8.6, 8.5) \psline(8.6,8.5)(0,8.5) \psline(0,8.5)(0.83, 6) \psbezier(0.83, 6)(1.5, 3.9)(5.655, -0.6)(9.65, -1.67) }} \...


2

I have some regex search and replace which converts most of PSTricks code to TikZ, but is far from perfect. While I am sure you can do that in PSTricks (with \pscustom if I remember correctly), you may just switch to TikZ with which it is really easy. \documentclass[12pt]{article} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{tikz} \usetikzlibrary{...


0

Thank You very much!!!! I have another questions: what is the thickness of the contour's line when I put dotLW=1? And, without "dotLW", what is the thickness of the contour's line by default for PointSymbol=o? Thank You!


2

With dotLW you can scale the current linewidth: \listfiles \documentclass{article} \usepackage{pst-eucl} \makeatletter \define@key[psset]{pstricks}{dotLW}[1]{\def\psk@dotLW{#1 }} \psset[pstricks]{dotLW=1} \@namedef{psds@o}{% CLW \psk@dotLW mul SLW /r2 DS CLW sub def \pst@gdot{0 0 DS \tx@SD \pst@usecolor\psfillcolor 0 0 r2 \tx@SD }} \makeatother \...


Top 50 recent answers are included