Hello all, I am trying to create a very basic circle using Pstricks. Everytime I enter this code, my circle comes out black, I need it to be clear. If anybody knows what my mistakes are or even have any suggestions please feel free to send them.
Code:
"
\psset{linewidth=1pt,fillstyle=none,linecolor=black,yunit=1in,xunit=1in}
\begin{pspicture}
(-1.5,-1.5)(1.5,1.5)
\pscircle*[](0,0){1.5}
\end{pspicture}
"
Thanks,
Omar
Text Formatting ⇒ Trying to create a basic clear circle
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Trying to create a basic clear circle
It is essential to tag code as such by using the code environment of the forum. This helps to keep a post clear and legible.
Read the pstricks manual and you will see that the \pscircle* command always draws a filled circle.
Best regards
Thorsten
Read the pstricks manual and you will see that the \pscircle* command always draws a filled circle.
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Tue Feb 23, 2010 4:43 pm
Re: Trying to create a basic clear circle
Thank you so much!!! DO u by any chance have an idea of how I could make one that is not filles?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Trying to create a basic clear circle
Just read the package manual. It explains all supported commands in detail. Nobody could explain better. That's what package manuals are made for. Provided that the package is installed on your machine, you have direct access via command prompt (shell, terminal).
Using LaTeX you should get used to reading manuals in general. Usually most questions are answered this way when using a specific class or package.
Code: Select all
texdoc pstricks
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Trying to create a basic clear circle
Just remove the asterisk: \pscircle instead of \pscircle*.
Your code is fine otherwise.
Your code is fine otherwise.
-
- Posts: 4
- Joined: Tue Feb 23, 2010 4:43 pm
Re: Trying to create a basic clear circle
Thank you! I really appreciate it
-Omar
-Omar