Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4379

GNUplot for hysteresis loop not giving graph

Newsgroups comp.graphics.apps.gnuplot
Date 2020-12-16 05:20 -0800
Message-ID <be92635d-90e5-4a38-8eb4-df148821352en@googlegroups.com> (permalink)
Subject GNUplot for hysteresis loop not giving graph
From Buse Ozkan <buse1.ozkan@gmail.com>

Show all headers | View raw


Hi All, 

I am a PhD student in The University of Sheffield which involves doing micromagnetic simulations and drawing hysteresis loops which would take place via using NMAG package. 

However, when I follow the instructions and tutorials in the manual makeplot.gnu is not working when I searched the error to draw it with my data - doing the simple hysteresis loop example the plot.dat - an empty plot is created. 

where no loop is generated like there is no data in the file. 
(I have changed the file name from plot.dat to plot1.dat) 

I have tried the following:
gnuplot --persist -e 'plot "plot1.dat" u 1:2'

gnuplot make_plot.gnu
where the make_plot.gnu is a script with;
set term postscript eps enhanced color
set out ‘hysteresis.eps’
set xlabel ‘Applied field H_x   (A/m)’
set ylabel ‘M_x / M_s’
set xrange [-1050000:1050000]
set yrange [-1.2:1.2]
plot ‘plot.dat’ u 1:2 ti ‘ellipsoid example’ w lp 3


Is there any help you can give me about this?
Also apart from the manuals are there any other tutorials present for me to understand the package more to use it effectively?

Waiting for your reply
Best wishes, 
Buse OZKAN

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

GNUplot for hysteresis loop not giving graph Buse Ozkan <buse1.ozkan@gmail.com> - 2020-12-16 05:20 -0800
  Re: GNUplot for hysteresis loop not giving graph Jörg Buchholz <bookwood4new@freenet.de> - 2020-12-17 09:16 +0100

csiph-web