First time here? Check out the FAQ!

Ask Your Question
1

List of arguments for a plot

asked 11 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

ppurka gravatar image

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

Preview: (hide)
link

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: 11 years ago

Seen: 256 times

Last updated: Jul 25 '13