From 2647d1be8b48f2200a6e958bc00fceda35ebfc86 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 15 Nov 2011 22:26:55 -0500 Subject: copy psr to faraday --- faraday/data_file_name.m | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 faraday/data_file_name.m (limited to 'faraday/data_file_name.m') diff --git a/faraday/data_file_name.m b/faraday/data_file_name.m new file mode 100644 index 0000000..5d6e106 --- /dev/null +++ b/faraday/data_file_name.m @@ -0,0 +1,5 @@ +function fname=data_file_name(prefix, title, suffix, B_field, theta,phi,psi_el) + str_title=sprintf("%s B field=%.5f Gauss, ellipticity=%.2f rad, theta=%.2f, phi=%.2f", title, B_field, psi_el, theta, phi); + fname=strcat(prefix, str_title, '.', suffix); +endfunction + -- cgit v1.2.3