Text FormattingTrying to create a basic clear circle

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
o.elasmar95
Posts: 4
Joined: Tue Feb 23, 2010 4:43 pm

Trying to create a basic clear circle

Post by o.elasmar95 »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Trying to create a basic clear circle

Post by localghost »

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
o.elasmar95
Posts: 4
Joined: Tue Feb 23, 2010 4:43 pm

Re: Trying to create a basic clear circle

Post by o.elasmar95 »

Thank you so much!!! DO u by any chance have an idea of how I could make one that is not filles?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Trying to create a basic clear circle

Post by localghost »

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).

Code: Select all

texdoc pstricks
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.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Trying to create a basic clear circle

Post by frabjous »

Just remove the asterisk: \pscircle instead of \pscircle*.

Your code is fine otherwise.
o.elasmar95
Posts: 4
Joined: Tue Feb 23, 2010 4:43 pm

Re: Trying to create a basic clear circle

Post by o.elasmar95 »

Thank you! I really appreciate it


-Omar
Post Reply