Questions tagged [pst-optic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
176 views

pst-optic: draw lens and object without rays

I am using latex with pst-optic for my classes. For my exercises, I would like to draw a lens with the focal point, the object, but without the rays and the image. In this way, the students can ...
1
vote
0answers
98 views

I can't compile code that use PSTRICKS

I'm having issues trying to compile code that use the package "pstricks". When I compile the next code (which can be found here) with Xelatex: \documentclass[pstricks,crop]{standalone} \usepackage{...
1
vote
1answer
70 views

Why is my beam trace skewed?

I am using the pst-optexp package to configure a optical setup. after drawing the beam path, it appears to be skewed on its return path after it hits a beam splitter. MWE: \documentclass[margin=36pt]...
2
votes
2answers
171 views

How to design a galvo-scanner to re-direct a beam

I am trying my hands at pst-optexp package and ... The following is the optical setup I am trying to design. So far my approach is to design the flow by tracing the beam path sequentially. I am ...
1
vote
1answer
51 views

lensGlass=false doesn't seem to work in pst-optic

Consider the following example: %%xelatex \documentclass[pstricks,crop]{standalone} \usepackage{pst-optic} \usepackage{pstricks-add,pst-text} \begin{document} \begin{pspicture}(-8.5,-3)(8.5,3) \...
1
vote
1answer
200 views

How to change the arrow to another object in pst-optics?

Consider the following example: %%xelatex \documentclass[pstricks,crop]{standalone} \usepackage{pst-optic} \usepackage{pstricks-add,pst-text} \begin{document} \begin{pspicture}(-8.5,-3)(8.5,3) \...
2
votes
1answer
215 views

add a pattern on the outside of a circle (spheric mirror)

I want to make some basic drawings of optics. I've consulted pst-optics, but this very nice package was to complicated for the drawings that I need. My question is: I want to add a pattern on the ...
1
vote
1answer
82 views

Problem with pst-optic: Only the half picture is drawn

I just tried to complile the following picture with xelatex \documentclass[pstricks,crop]{standalone} \usepackage{pst-optic} \usepackage{pstricks-add} \begin{document} \newpsstyle{opticalAxis}{...
2
votes
0answers
227 views

How to customize a lens of pst-optic with the following requirement?

The following code \documentclass[pstricks,border=12pt,12pt]{standalone} \usepackage{pst-optic} \begin{document} \lens [ nameF=F2, nameFi=F1, spotO=270, focus=4, OA=-3, AB=1, ...
4
votes
2answers
676 views

Convex lens (flat end) with pst-optic

Is it possible to get each end of a convex lens to be flat, like this: (I haven't been able to find anything regarding this in the manual.)
11
votes
2answers
2k views

Drawing of optical lens

Is it possible to draw only a lens and not the light beam nor any labels or axes, using pst-optic? Update What is the default lens colour? In table 2 (page 9) of the manual, nothing is mentioned of ...