Calling and Using function file to adjust plots
Mostra commenti meno recenti
Hey, I'm sure this is quite simple, but I am getting my self confused thinking about this!I have created a script file, which will plot a 3D line plot. I have been trying to convert the line to a "tube" shape and found some code in the file share section, where the user had created their own code that allowed you to do this. My question is, how do I call their code into my script file so that it can adjust my plot. The function file is created by: Janus H. Wesenberg and is found here; http://www.mathworks.co.uk/matlabcentral/fileexchange/5562-tubeplot
Thanks
Risposta accettata
Più risposte (1)
nl2605
il 19 Lug 2013
0 voti
You can save the tubeplot function in a file named as tubeplot.m and then use it as we normally use plot functions. I hope this is what you meant to ask.
3 Commenti
Mazhar
il 19 Lug 2013
David Sanchez
il 19 Lug 2013
right, but watch out for the input parameters. Make sure your are sending the right data.
nl2605
il 19 Lug 2013
yup! I guess you got it!
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!