Questions tagged [pst-optexp]

{pst-optexp} is a {pstricks} package for drawing optical experimental setups.

Filter by
Sorted by
Tagged with
2
votes
1answer
75 views

Beamsplitter and transmission beam problem

I tried to draw a figure such that the laser beam is transmitted and reflected from a beam splitter. However, following the description on the internet, I ran into two problems, 1) The cubic beam ...
3
votes
1answer
427 views

Drawing an off-axis parabolic mirror in pst-optexp and pst-optic

Having looked through the pst-optexp manual, it doesn't seem that there is a built-in off-axis parabolic mirror. I'm trying to make a diagram of a lab setup that goes like this: Collimated beam falls ...
1
vote
1answer
144 views

pst-optexp: issue putting beam behind elements [duplicate]

So, I'm having some trouble with pst-optexp lately. There seems to be some compilation problems with my sketch, since it doesn't show the elements properly. My current code is \documentclass{...
4
votes
1answer
60 views

Uncontrollable displacement in positioning pst-optexp component

I am beginner in pst-opexp and I have a problem with positioning component. When I try no draw a lens in the position (2,1) (see code after), I get a lens in the position (1.92,1) (see figure). The ...
2
votes
2answers
242 views

optexp environment error when compiling with XeLaTeX

I have troubles with optexp environment. There is a code \documentclass[pstricks,margin=12pt]{standalone} \usepackage{pst-optexp} \begin{document} \begin{pspicture}(3.2,5) \pnodes(0,3){A}(1,3){BS}(...
2
votes
2answers
174 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
72 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
1answer
214 views

How to flip the orientation of beamsplitter in pst-optexp package

I was trying to plot an interferometer in latex using pst-optexp package. Everything works fine the beamsplitter is in the wrong orientation and need to be fliped 90 degree. However, the command\...
1
vote
1answer
100 views

Positioning along optical path with pst-optexp

I am trying to draw an object (per example a lens) with the pst-optexp package. The difficulty arises when I try to have this object drawn at a given distance from another object, but along the ...
1
vote
1answer
138 views

How can I manipulate the transmittance of mirrors in pst-optexp?

I would like to propagate the beam to the detectors near each mirror. I also would like the propagation to work as normally would (from mirror 1 to mirror 2 to the apertures). \documentclass[pstricks,...
1
vote
0answers
62 views

Issue with \drawwidebeam on pst-optexp [duplicate]

I'm trying to use pst-optexp with XeLaTeX, but every time I call \drawwidebeam, I get a broken figure. \documentclass{article} \usepackage{pst-optexp} \usepackage{pst-node} \begin{document} \...
6
votes
1answer
126 views

Why is my beam no propagating beyond the second mirror?

\documentclass[]{revtex4} \usepackage{pst-optexp} \usepackage{pst-node} \begin{document} \begin{pspicture}[showgrid=true](13,14) \pnodes(2,10){A}(3,10){MIP}(3,12.5){LIP}(3,13){MIIP}(5,13){LIIP} \...
2
votes
1answer
193 views

pst-optexp with MikTex on Windows

I am trying to draw a diagram with pst-optexp in MikTex on Windows. Every time I try to compile using XeLatex, it would throw an error saying MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit ...
2
votes
1answer
238 views

pst-optexp Not Displaying Graphics [duplicate]

It seems that pst-optexp is not drawing the graphics associated with a drawing, only the text in it. Here is an example: \documentclass{article} \usepackage{filecontents} \usepackage{pstricks} \...
3
votes
1answer
88 views

How to customize transmission grating in pst-optexp?

My current working example: \documentclass[preview,border=20pt]{standalone} \usepackage{pst-optexp} \usepackage{pst-node} \begin{document} \begin{pspicture}[showgrid](2, 2) \pnodes(0,1){A} \...
2
votes
1answer
374 views

Export PSTricks with pst-optexp to EPS

I have been trying to create EPS files from drawings of several optical experimental setups made with pst-optexp. It all works quit well for pdf files so there is no issue on that front. There is ...
3
votes
0answers
85 views

Strange output for a beamsplitter with xelatex [duplicate]

I’m trying to figure out how to use the pst-optexp package. However I can’t make the \beamsplitter work. Even with the code provided by the documentation (§4.20, p.46 of the English version of the ...
2
votes
1answer
153 views

How to make a 3-port component using pst-optexp

I'm wanting to create a custom component using the pst-optexp package. So far, I've figured out how to make a two-port custom component that shows the internal structure, but I can't figure out how to ...
3
votes
1answer
176 views

How to show node labels as shown in pst-optexp documentation?

In the pst-optexp documentation, they show this example: When I have the following code: \documentclass[pstricks,border=12pt]{standalone} \usepackage{pstricks} \usepackage{pst-optexp} \begin{...
3
votes
0answers
156 views

PSTricks drawing not cropped in standalone

I'm trying to create a drawing using the pst-optexp package, and I can get the drawing to compile, but the output is not cropped to the drawing (the drawing is just placed in the top left corner of a ...
8
votes
1answer
1k views

Understanding beams in pst-optexp

I'm apparently missing something fundamental in how beams interact with interfaces. I have prepared three simple examples, with the hopes that someone can explain to me why certain things happen. ...
4
votes
1answer
563 views

pst-optexp: Trouble in drawing collimated beam

I want to draw a Z-Scan experimental setup. My lab's DPSS Laser has a beam radius of some value, and I change this value by using a simple telescope. It was supposed to be easy to draw this using pst-...
1
vote
1answer
807 views

Installing the pst-optexp package

I am having trouble installing and using pst-optex package. I went through the documentation installed all the prerequisites. But my tex comiler(TeXMaker) keeps giving errors. The code I have written ...
5
votes
1answer
164 views

Weird whitespace occurs using \drawbeam in pst-optexp

In my drawing using pst-optexp, I found weird whitespace occured when using \drawbeam, \pstVerb and tx@addDict together. Here are the minimum reproduction codes for my claim: \documentclass{...
2
votes
1answer
240 views

pstricks not working with thesis template

I've been trying to get the pst-optexp package working with the thesis template I have, and it's been a nightmare. I'm using MikTeX with pdflatex compilation, as as previously mentioned in How to use ...
4
votes
1answer
1k views

pst-optexp: draw 4f correlator

I recently discovered pst-optexp and am trying to draw my optical setup for an experiment on it before my deadline. I was looking through the docs and it is an amazing package but there is so much in ...
4
votes
2answers
152 views

where can I find the detailed description of how to use \pstVerb and tx@addDict

I am drawing some setup using Pstricks and pst-optexp. I want to know what the following example means. Also I can't find a detailed description of how to use \pstVerb and tx@addDict. \multido{\i=0+...
3
votes
1answer
1k views

PSTricks package giving xkeyval error

I have been trying to solve this error by myself but did not find a way. So if someone out there can help me, any help is greatly appreciated! I use Texmaker to run MikTex 2.9. I want to use the ...
4
votes
1answer
239 views

Transmission grating in pst-optexp

It seems that transmission gratings have not been implemented yet in the pst-optexp. Does anyone know whether there exists a workaround?
12
votes
4answers
1k views

pst-optexp: draw prism compressor

I wanted to draw a prism compressor with the respective beamlines. The general setup works, but the exact control of the beam alignment within the prisms fails. Here is the code that I have so far: ...
4
votes
1answer
538 views

Acousto-optic modulator in pst-optexp?

pst-optexp not only creates beautiful graphics but also it provides a way to logically describe complex optical setups. one thing I found missing is the ability to define an acousto optical modulator....