Am 28.02.2015 um 13:27 schrieb Michael Berger:
On 02/28/2015 09:00 AM, Wolfgang Engelmann wrote:

Am 27.02.2015 um 19:34 schrieb Michael Berger:
On 02/27/2015 06:32 PM, Wolfgang Engelmann wrote:
I tried to use PGFplots in LyX. It is difficult for me, but after some time I managed to get one figure drawn. However, I do not know how to plot this figure in the way floating objects are used so that I can cross reference to it and LyX takes care of where this figure will be placed.
I did not find a cue in Ian's hint

http://chelseas-roost.co.uk/resources/lyx/PlottingGraphsInLyX.pdf

Does somebody know?

Wolfgang

Hi Wolfgang,
Your graphic is to be treated like any other figure / float.
Set the cursor after your plot and do
Insert > Float > Figure
then in the box that opens enter a name for that float.
Done.

Michael
Thanks, Michael,
and where would the label be inserted? If I do it as in the following:

.........
Wolfgang, why don't you first of all read the "LyX User's Tutorial" ?
I think that explains the issue very well - and the do some experimenting.

Michael

Michael,
I am familiar with LyX and the placement and use of floats such as figures.
My question concerns the placement of the label (for cross referencing the text to the figure) in the ERT representing the tikz figure and its further description. Perhaps I miss something fundamental. If somebody has a tikz figure (in ERT) as an example with a such a label which could help me to understand it, I would appreciate it a lot.
Wolfgang

Reply via email to