Skip to content

Pulling in merges from Quin - #38

Merged
rlhatton merged 18 commits into
Rossfrom
master
Aug 23, 2018
Merged

rlhatton merged 18 commits into
Rossfrom
master

Conversation

@rlhatton

Copy link
Copy Markdown
Contributor

No description provided.

crystalsolenoid and others added 18 commits July 5, 2018 13:40
This function will now plot with ticks that are spaced according to the content of paramvalues.
Illustrate Backbone Shapespace improved tickmarks
illustrate_backbone_shapespace() can now take the coordinate changes generated from a _calc.mat file

In addition, improvements were made to the plotting code in order to more easily create multiple shapespace figures for comparison:
- A new optional parameter for illustrate_backbone_shapespace(), plotnum, allows you to specify the figure number. Previously, it was hardcoded as 171, which meant that running the function multiple times would overwrite the previous figure. If no plotnum value is provided, the value will default to 171 for consistency. I don't know why 171 was chosen so I didn't want to mess with it.
- The tick spacing is no longer within the for loop. It only needs to be called once.
- For readability, "box on" is now called so that the tickmarks and axis lines are repeated on the top and left sides of the plot.
- The orientation input value is now displayed in the title bar of the figure.

Possible future improvements:
I think the curvdef that's currently an input of this function might also be stored in the system data. It would make things more user-friendly if you could choose just specify the system and take into account coordinate change *and* shapespace definition!
this is for testing-- I'm not sure if it'll work yet
added support for the new from-system orientation option

I haven't tested this because I haven't been able to get a system that uses a general curvature to work properly, and I don't think it's worth my time to figure that out. But the code is almost identical to the tested fatbackbone_from_curvature_bases.m so I think it's pretty safe to say it will work.

If not, it definitely won't break the old functionality.
For values that are directly in between two points on the evaluation grid, I was getting an index out-of-bounds error.
All user file folders are ignored besides GenericUser.
Added function based on illustrate_backbone_shapespace() that plots a single shape.
Added feedback comments from when I went through the quick start document during  the first week of this project. The document content is unchanged.
calcfilePath is now found using fullfile()
Figure and axis operations now specify which figure or axis they are acting on.
Animation and illustration functions being merged in
@rlhatton
rlhatton merged commit 19279da into Ross Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants