To achieve this, enter X_data*X_data in 'Value'. For example, you have a dataset 'X_data' and you wish to create a new data 'X_data_2' such as X_data_2 = X_data*X_data. Expression using existing dataset:Īs the title suggests, use this method to create data using existing data. ImportFileCSV('%s.profile' % filename, delimiter = ' ', readrows=False, dsprefix='', dssuffix='', linked=True, encoding='utf_8', renames=. STEP-3: Create a new 'autoplot-script.py' file using any text editor in the same location where your. STEP-1: Import one of these files and create the graph in your desired fashion. It can be achieved in an automated way by following steps: This fact can be used to process multiple files in batch mode.Įxample: Suppose you have 3 files with the name as 'temp_300_degree.profile', 'temp_400_degree.profile', and 'temp_500_degree.profile', and you wish to generate an X-Y graph using column-1 and column-2 of these files. If you import a second file with same column headers as that of first one, it will replace the data of first file and VEUSZ will immediately show the updated plot for the data of second file. How to write a basic script to process multiple files in batch mode? You can then find and select these modified name of column headers in properties-window of widgets to plot your desired data. It will change the coulomn headers of first file to 'day_June' and 'temperature_June' and that of second file to 'day_July' and 'temperature_July'. For instance, while importing the above mentioned two files, you can add suffix '_June' and '_July' to the first and second file, respectively. To avoid this issue, VEUSZ provides an option of add a prefix or suffix in the name of the coulom-headers in the data import dialogue box. If you first import 'June.txt' and then 'July.txt', the data of first file will be replaced by the latter file. It means that these data files should not contain data with same column-headers. However, VEUSZ requires the column-headers to be unique. The procedure for importing multiple data files in VEUSZ is same as that for a single file. How to import multiple data files in VEUSZ? You can also add your own questions and answer them.You can also improve the existing answer by adding your comments at the end of these answers.You may give them headings as 'Method-1' and 'Method-2'. If you know a better/another method to perform these tasks, feel free to add it below the already explained method.You are welcome to contribute to further improve the contents of this page. This page provides tutorials on doing basic tasks in VEUSZ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |