Graphics, Figures & TablesGetting the \psframebox transparent

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
justincase
Posts: 25
Joined: Sat Sep 04, 2010 1:56 am

Getting the \psframebox transparent

Post by justincase »

Hi there

Another question. I want to get a psframebox transparent. But how? I've googled a lot but I could find nothing.

Code:

Code: Select all

\begin{figure}[htb]
\centering
%\caption{The image, converted with \texttt{pdftricks}}
\begin{pdfpic}
  \begin{pspicture}(0,0)(8,8)
  % y-Axis
    \psline{->}(2.5,0)(2.5,5)
    \rput(2.5,5.2){\psframebox*[framearc=.3]{A}}
    
   % x-Axis
    \psline{->}(0,2.5)(5,2.5)
    \rput(5.2,2.5){\psframebox*[framearc=.3]{V}}
   
   % Forward condition drop
   \psline{<-}(3.6,3.6)(4,3.6)
   \rput(5.8,3.6){\psframebox*[framearc=.3]{Forward condition drop}}
   
   % Reverse Voltage Current
   \psline{<-}(1,2.6)(1,3)
   \psline{<-}(1,2.5)(1,2.1)
   \rput(0.3,3.1){\psframebox*[framearc=.3]{\parbox{90pt}{Reverse Voltage\\Current}}} % I want to get this transparent
   
   % Kurve
    \psbezier{-}%
    				(0.25,0)(0.25,0)(0.25,1.25)(0.25,2)(0.25,2.75)%
    				(0.75,2.6)(2.6,2.6)(3.5,2.6)(3.5,3)(3.5,5) % [showpoints=true] wenn die wertepunkte angezeigt werden sollen
    
  \end{pspicture}
\end{pdfpic}
\end{figure}
I want to get the Reverse Voltage Box transparent.

Maybe someone can help me.

Greetings
Last edited by justincase on Sun Sep 05, 2010 4:36 pm, edited 1 time in total.

Recommended reading 2024:

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

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

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Getting the \psframebox transparent

Post by CrazyHorse »

justincase wrote: Another question. I want to get a psframebox transparent. But how? I've googled a lot but I could find nothing.
I want to get the Reverse Voltage Box transparent.

Code: Select all

\documentclass[fleqn]{article}
\usepackage{pstricks-add}
\usepackage{auto-pst-pdf}

\begin{document}


\begin{figure}[htb]
\centering
%\caption{The image, converted with \texttt{pdftricks}}
\begin{pspicture}(0,0)(8,8)
\newpsstyle{fill}{opacity=0.3,fillstyle=solid,fillcolor=black!30,framearc=0.3}
  \psaxes[ticks=none,labels=none]{->}(2.5,2.5)(0,0)(5,5)%
    [{\psframebox*[style=fill]{V}},0]%
    [{\psframebox*[style=fill]{A}},90]
  % Forward condition drop
  \psline{<-}(3.6,3.6)(4,3.6)
  \rput(5.8,3.6){\psframebox*[style=fill]{Forward condition drop}}
       
       % Reverse Voltage Current
  \psline{<-}(1,2.6)(1,3)
  \psline{<-}(1,2.5)(1,2.1)
  \rput(0.3,3.1){\psframebox*[style=fill]{\parbox{90pt}{Reverse Voltage\\Current}}} % I want to get this transparent
  % Kurve
  \psbezier%
    (0.25,0)(0.25,0)(0.25,1.25)(0.25,2)(0.25,2.75)%
    (0.75,2.6)(2.6,2.6)(3.5,2.6)(3.5,3)(3.5,5) % [showpoints=true] wenn die wertepunkte angezeigt werden sollen
\end{pspicture}
\end{figure}

\end{document}
Herbert
justincase
Posts: 25
Joined: Sat Sep 04, 2010 1:56 am

Re: Getting the \psframebox transparent

Post by justincase »

Yeah thanks again Herbert.

I was wondering if you are every Herbert you can find via google if you're looking in Latex Forums :D
Post Reply