Ask Your Question
1

List of arguments for a plot

asked 2013-07-25 16:53:37 +0200

Dox gravatar image

Hello.

I'm trying to plot a set of functions with a list of arguments, say

plot(detT, (r,0,7), axes_labels=[r"$r$",r"$\det(T)$"], figsize=4, ticks=[[],[]], fontsize=14)

Question

I'd like to define a list or something with all the plot options, say myplotformat, and then plot it like

plot(detT, (r,0,7), myplotformat)
  • Is it possible?

Cheers.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-25 17:56:13 +0200

ppurka gravatar image

This is actually a python question. You can make a dictionary and pass it to the function. Answered here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-07-25 16:53:37 +0200

Seen: 152 times

Last updated: Jul 25 '13