## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ TikZ GUI ? Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm

### TikZ GUI ?

Hello guys,

I am trying to improve my enclosed graphics.
Of course everything could be performed by using TikZ commands by "hand".
But it is really difficult in some cases.
Could you please tell me if there are some TikZ graphical tools?
I have found some, but they are not developped anylonger (Cirkuit) or not suited (LaTeXDraw) or for Windows only (I use Arch GNU/Linux).
There is Inkscape but I have the feeling it is very powerful but not suited.

Regards,
Me!
Attachments
a.png (14.27 KiB) Viewed 2384 times

mas
Posts: 206
Joined: Thu Dec 04, 2008 4:39 am
Hi,

What is it that you are trying to "improve" in the image? You have not mentioned what is the expectation and problems in achieving that.

It appears that you are trying to plot something. If you are trying to plot a graph of a known function and/or data points, you are better off using pgfplots.

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim

BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm
Hello,

Actually the curves are fine, but as you can see there is an arrow on the left side of the plot.
I would have to draw several (let's say eight) arrows. All those arrows have to be parallel each others.
Of course this is feasible but very difficult "by hand" because you have to calculate the points.
Is there a way to proceed so that it is easier, faster, stronger ?

Regards,
Me

thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france
BastienBastien wrote:because you have to calculate the points.

Or by eye ?

BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm
By eyes. That means trial-error process.
This is what I do.
It takes a long time and is not accurate.

Stefan Kottwitz
Posts: 8705
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
There is TikZEdt. It provides syntax highlighting, code completion, real time rendering, and more.

tikzedt.png (70.41 KiB) Viewed 1390 times

And Dia can do pgf(TikZ) export. It's like a simpler Visio drawing program and runs on Linux, Mac OS X, Unix, and Windows.

dia.png (192.22 KiB) Viewed 1390 times

Stefan

BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm
Thank for TikzEdt. It sems a good piece of soft.
I will give it a try.

(regarding Dia, it is very very limited.)

Regards,
Bastien

thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france
Do you have access to your graphic code ? It probably is the one generated by Matlab...

However, as you placed the first one, you could repeat the placement with counter-increased coordinates. Copy-paste a bit of code here with your arrow...

What about this, with the counter, you increase the coordinates (the results are in pdf attachments) :
\documentclass{book} \begin{document}  Allo ?\\		% no package here \newcount\foo		% declaration\foo=10			% initialization\loop			% like "for"\message{\the\foo} 	% for package writers, it displays the counter values 			% during the compilation Non mais allo, quoi ?\\ % here : you replace it with your arrow, with			% the counter-translated coordinates. Post the arrow. \advance \foo -1	% decrement the counter\ifnum \foo>0		% condition to stop\repeat			% otherwise, loop \end{document}

\documentclass{book} \usepackage{picture}	% one package only \begin{document}  Here \multiput(0,0)(10,-20){10}{we} are again.	% this solution really seems 						% adapted for your arrow \end{document}
Attachments
minimalRepeat.pdf
minimalRepeat2.pdf

rais
Posts: 151
Joined: Sun Nov 16, 2014 8:51 pm
Since tikz is already mentioned by the OP, its own \foreach statement might come in handy, too:
\documentclass{standalone}\usepackage{tikz}\begin{document}\begin{tikzpicture}[>=latex]\foreach \x/\y in {1cm/3cm,2cm/2.5cm,8cm/0cm}  \draw[->] (\x, \y) -- +(30:1cm);\end{tikzpicture}\end{document}

KR
Rainer

BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm
All solutions are interesting!
I will edit my Tikz graph by using thomas´s and rais´s solution,
but Stefan´s tool will be interesting for me in the future.

Thank you all,
Bastien