goshaplot

Cleanly and conveniently plots measurements to multiple figures and organizes them on screen.
114 Downloads
Updated 25 Jan 2019

View License

This function was developed to ease the life of bachelor's degree physics laboratories students.
Its purpose is to shorten the time spent on tasks like:
- Handling graph appearance.
- Scattering bunch of figure windows opened at the same place on the screen.
- Saving the graphs to the current file type (and not realizing you saved to .fig again when it's too late...).
- Making and plotting fit.
- Adding error bars (that need to be provided as a vector even if the error is the same for all points. NOT HERE!)
- Calculating Chi-Squared test probability value.
All this and more is accomplished in goshaplot using Name-Value pairs.
In addition, the saving of the graph is done via a minimalistic user interface menu embedded in each figure window.
Once you download goshaplot for the first time and place it in the main Matlab folder, you can update it using simple Command Window command. See the documentation for more info.
What's new in this version:
- Plotting directly from .txt files.
- 'startup.m' file that automatically checks for a new version of goshaplot and asks for update confirmation if such version exists.
- Shortened runtime by not changing the position of figures that already in position.
- Logarithmic scale.

Some features that are currently in development and will appear on future releases:
- Plotting few data lines on same graph.

About the automatic version check:
Matlab automatically runs a file called 'startup.m' in its search path upon startup.
Download this file and place 'startup.m' in your home Matlab folder and it will check for goshaplot version updates each time you start Matlab.
Note:
If you already use 'startup.m' file for your own purposes, copy all the function in this file and add them to your file.
Make sure to call 'goshaplotSoftwareUpdate()' function so it is executed with no doubt.

Contact support:
gosha.code@gmail.com

Cite As

George Tsintsadze (2024). goshaplot (https://www.mathworks.com/matlabcentral/fileexchange/65785-goshaplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Histograms in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
3.6

First 2019 release!
Added features:
- Conveniently read .txt files without plotting
- Organize all open figure without opening a new one

3.5.1.4

- Change names format of graph files

3.5.1.3

Fixed startup.m file minor bug.

3.5.1.2

- Bug fix in goshaplot update algorithm (version number format)

3.5.1.1

- Add .eps file in custom save popup menu.
- Enable saving popup even if the file menu is open.

3.5.1.0

- Fixed txt file reading bug
- Updated 'startup.m' to not download GOSHA CODE logo if not needed.

3.5.0.0

Fixing setup file goshaplot software update interface (compatibility with different screen sizes).
- Fixing minor appearance issues.

3.4.0.0

Minor code rearranging
- Adding logarithmic scale
- Adding explanation about file goshaplot and goshaplotSoftwareUpdate access on the users computer (on functions documentation).

3.3.0.0

Changing title
- Plotting directly from .txt files.
- 'startup.m' file.
- Shortened runtime by not changing position of figures that already in position.
- Cleaning up the code of goshaplot a bit
Adding goshaplot software update file.

3.0.0.0

Adding MATLAB_R2017a requirement.
Adding future release features.
Changing Title
Adding screenshot