Graphics, Figures & TablesTikZ GUI ?

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

TikZ GUI ?

Post by BastienBastien »

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
a.png (14.27 KiB) Viewed 15707 times

Recommended reading 2024:

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

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

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

TikZ GUI ?

Post by mas »

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

TikZ GUI ?

Post by BastienBastien »

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: 134
Joined: Thu Aug 03, 2017 10:54 am

TikZ GUI ?

Post by thomasb »

BastienBastien wrote:because you have to calculate the points.
Or by eye ?
BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm

TikZ GUI ?

Post by BastienBastien »

By eyes. That means trial-error process.
This is what I do.
It takes a long time and is not accurate.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

TikZ GUI ?

Post by Stefan Kottwitz »

There is TikZEdt. It provides syntax highlighting, code completion, real time rendering, and more.
tikzedt.png
tikzedt.png (70.41 KiB) Viewed 14713 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
dia.png (192.22 KiB) Viewed 14713 times
Stefan
LaTeX.org admin
BastienBastien
Posts: 40
Joined: Mon Aug 20, 2012 2:27 pm

TikZ GUI ?

Post by BastienBastien »

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: 134
Joined: Thu Aug 03, 2017 10:54 am

TikZ GUI ?

Post by thomasb »

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

Code: Select all

\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}
And what about this :

Code: Select all

\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
(13.27 KiB) Downloaded 421 times
minimalRepeat2.pdf
(12.69 KiB) Downloaded 533 times
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

TikZ GUI ?

Post by rais »

Since tikz is already mentioned by the OP, its own \foreach statement might come in handy, too:

Code: Select all

\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

TikZ GUI ?

Post by BastienBastien »

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
Post Reply